修改屏蔽门ecs系统逻辑bug
This commit is contained in:
parent
a3a62886df
commit
401a30cf9b
@ -89,7 +89,7 @@ func (p *PsdSys) Update(world ecs.World) {
|
|||||||
if psc.MkxKM { //优先门控箱的开门
|
if psc.MkxKM { //优先门控箱的开门
|
||||||
group := psd.FindAsdGroup(8)
|
group := psd.FindAsdGroup(8)
|
||||||
p.km(group.Start, group.End, asdList)
|
p.km(group.Start, group.End, asdList)
|
||||||
} else if psc.MkxKM { //其次门控箱的关门
|
} else if psc.MkxGM { //其次门控箱的关门
|
||||||
p.gm(asdList)
|
p.gm(asdList)
|
||||||
} else if !psc.InterlockMPL { //联锁操作没有被旁路
|
} else if !psc.InterlockMPL { //联锁操作没有被旁路
|
||||||
if psc.InterlockGM {
|
if psc.InterlockGM {
|
||||||
|
Loading…
Reference in New Issue
Block a user