From 96cf5e844b53e28c3af6b1fd7aeea1df93580347 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Mon, 25 Dec 2023 14:25:24 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84case=E6=9D=A1=E4=BB=B6=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- message_server/simulation_state_ms.go | 1 - 1 file changed, 1 deletion(-) diff --git a/message_server/simulation_state_ms.go b/message_server/simulation_state_ms.go index 9c6872f..d897576 100644 --- a/message_server/simulation_state_ms.go +++ b/message_server/simulation_state_ms.go @@ -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: