From 3b9d822f80dcecb990d55eb982a4546375848909 Mon Sep 17 00:00:00 2001 From: tiger_zhou <123456> Date: Thu, 28 Jul 2022 11:55:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E5=8F=B8=E6=9C=BA=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E4=B8=8D=E8=BF=94=E5=9B=9E=E8=AE=B0=E5=BD=95=E5=88=B0?= =?UTF-8?q?=E5=89=A7=E6=9C=AC=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../joylink/rtss/services/script/ScriptSimulationService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/services/script/ScriptSimulationService.java b/src/main/java/club/joylink/rtss/services/script/ScriptSimulationService.java index 15c832b2a..af166af48 100644 --- a/src/main/java/club/joylink/rtss/services/script/ScriptSimulationService.java +++ b/src/main/java/club/joylink/rtss/services/script/ScriptSimulationService.java @@ -242,7 +242,9 @@ public class ScriptSimulationService implements IScriptSimulationService { } script.addAction(action); SocketMessageVO message = SocketMessageFactory.buildScriptActionMessage(simulation.getId(), new ScriptActionVO(action)); - stompMessageService.sendToUser(simulation.getSimulationUserIds(), message); + if(!(message.getBody().getOperationType() == Operation.Type.Driver_Gear_Change)){ + stompMessageService.sendToUser(simulation.getSimulationUserIds(), message); + } } @Override