From f63f97244e8b3307e3b9f60d980d70696fecab31 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Tue, 26 May 2020 23:25:19 +0800 Subject: [PATCH] Fix changeFloor bug --- _server/MotaAction.g4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_server/MotaAction.g4 b/_server/MotaAction.g4 index b0258f0b..a0d0e9c5 100644 --- a/_server/MotaAction.g4 +++ b/_server/MotaAction.g4 @@ -1528,7 +1528,7 @@ else if (Stair_List_0!=='loc')loc = ', "stair": "'+Stair_List_0+'"'; if (DirectionEx_List_0 == 'null') DirectionEx_List_0 = ''; DirectionEx_List_0 = DirectionEx_List_0 && (', "direction": "'+DirectionEx_List_0+'"'); IntString_0 = IntString_0 ?(', "time": '+IntString_0):''; -var code = '{"type": "changeFloor"'+toFloorId+loc+DirectionEx_List_0+IntString_0+' }\n'; +var code = '{"type": "changeFloor"'+toFloorId+loc+DirectionEx_List_0+IntString_0+' },\n'; return code; */;