From 401a30cf9ba92cb209e7ceb640122950ba19ecfc Mon Sep 17 00:00:00 2001 From: joylink_zhangsai Date: Thu, 7 Dec 2023 16:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B1=8F=E8=94=BD=E9=97=A8ec?= =?UTF-8?q?s=E7=B3=BB=E7=BB=9F=E9=80=BB=E8=BE=91bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sys/circuit_sys/psd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/circuit_sys/psd.go b/sys/circuit_sys/psd.go index 399bf2c..451b99e 100644 --- a/sys/circuit_sys/psd.go +++ b/sys/circuit_sys/psd.go @@ -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 {