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())