修改屏蔽门ecs系统逻辑bug

This commit is contained in:
joylink_zhangsai 2023-12-07 16:09:04 +08:00
parent a3a62886df
commit 401a30cf9b

View File

@ -89,7 +89,7 @@ func (p *PsdSys) Update(world ecs.World) {
if psc.MkxKM { //优先门控箱的开门
group := psd.FindAsdGroup(8)
p.km(group.Start, group.End, asdList)
} else if psc.MkxKM { //其次门控箱的关门
} else if psc.MkxGM { //其次门控箱的关门
p.gm(asdList)
} else if !psc.InterlockMPL { //联锁操作没有被旁路
if psc.InterlockGM {