signal
This commit is contained in:
parent
c986ea599c
commit
d9928acd11
@ -136,7 +136,7 @@ func GetMapAllSignalState(sim *VerifySimulation, mapId int32) []*state.SignalSta
|
||||
func handlerSignalState(w ecs.World, uid string) *state.SignalState {
|
||||
entry, ok := entity.GetEntityByUid(w, uid)
|
||||
if !ok {
|
||||
fmt.Printf("id=%s的信号机不存在", uid)
|
||||
//fmt.Printf("id=%s的信号机不存在", uid)
|
||||
return nil
|
||||
}
|
||||
if !entry.HasComponent(component.SignalLightsType) { //信号机灯列表
|
||||
|
Loading…
Reference in New Issue
Block a user