【删除多余的case条件】

This commit is contained in:
weizhihong 2023-12-25 14:25:24 +08:00
parent e886d5f4ef
commit 96cf5e844b

View File

@ -13,7 +13,6 @@ func NewStateMs(vs *memory.VerifySimulation) ms_api.MsgTask {
ecs.WorldStateChangeEvent.Subscribe(vs.World, func(_ ecs.World, e ecs.WorldStateChange) {
s := &state.SimulationStatus{SimulationId: vs.SimulationId}
switch e.NewState {
case ecs.WorldClose:
case ecs.WorldClosed:
s.State = state.SimulationStatus_DESTROY
case ecs.WorldError: