From ec53a8e204038e38ba6cb9cdb90fd37ecbac7189 Mon Sep 17 00:00:00 2001 From: xzb <223@qq.com> Date: Fri, 20 Oct 2023 10:31:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=B8=A6=E7=94=B5=E8=B7=AF=E7=9A=84?= =?UTF-8?q?=E4=BF=A1=E5=8F=B7=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entity/signal_3xh3.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/entity/signal_3xh3.go b/entity/signal_3xh3.go index 6bbbbc7..3f28f69 100644 --- a/entity/signal_3xh3.go +++ b/entity/signal_3xh3.go @@ -38,8 +38,6 @@ func loadSignal3xh3(w ecs.World, signal *repository.Signal, signalEntry *ecs.Ent component.Signal3XH3LsqType.Set(signalEntry, &component.Signal3XH3Lsq{}) component.Signal3XH3LscType.Set(signalEntry, &component.Signal3XH3Lsc{}) component.SignalLightsType.Set(signalEntry, newSignalLights(w, component.HdTag, component.LdTag, component.UdTag)) - //封绿灯,即有绿灯但绿被封 - component.SignalLightsType.Get(signalEntry).GetLightByTag(component.LdTag).AddComponent(component.FdTag) //校验 if elecState.Z3XH3_DDJ == nil { return fmt.Errorf("id=[%s]的信号机3xh3,缺少元件DDJ", signal.Id())