diff --git a/message_server/simulation_state_ms.go b/message_server/simulation_state_ms.go index 18fb726..9c6872f 100644 --- a/message_server/simulation_state_ms.go +++ b/message_server/simulation_state_ms.go @@ -14,6 +14,7 @@ func NewStateMs(vs *memory.VerifySimulation) ms_api.MsgTask { s := &state.SimulationStatus{SimulationId: vs.SimulationId} switch e.NewState { case ecs.WorldClose: + case ecs.WorldClosed: s.State = state.SimulationStatus_DESTROY case ecs.WorldError: s.State = state.SimulationStatus_ERROR