bug修复

This commit is contained in:
walker 2023-10-08 10:28:50 +08:00
parent 6444007ba2
commit 3a6da100d4

View File

@ -26,7 +26,7 @@ func driveYjRelay(w ecs.World, entry *ecs.Entry, td bool, xq bool) {
// xq - 是否到吸起位置(有极继电器)
func driveWjRelay(w ecs.World, entry *ecs.Entry, td bool) {
rd := component.RelayDriveType.Get(entry)
rd.Td = true
rd.Td = td
}
// 驱动继电器到吸起位置