不带电路的信号机
This commit is contained in:
parent
7e05997668
commit
ec53a8e204
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user