剧本司机变更不返回记录到剧本中
This commit is contained in:
parent
8e5a49628d
commit
3b9d822f80
@ -242,8 +242,10 @@ public class ScriptSimulationService implements IScriptSimulationService {
|
|||||||
}
|
}
|
||||||
script.addAction(action);
|
script.addAction(action);
|
||||||
SocketMessageVO<ScriptActionVO> message = SocketMessageFactory.buildScriptActionMessage(simulation.getId(), new ScriptActionVO(action));
|
SocketMessageVO<ScriptActionVO> message = SocketMessageFactory.buildScriptActionMessage(simulation.getId(), new ScriptActionVO(action));
|
||||||
|
if(!(message.getBody().getOperationType() == Operation.Type.Driver_Gear_Change)){
|
||||||
stompMessageService.sendToUser(simulation.getSimulationUserIds(), message);
|
stompMessageService.sendToUser(simulation.getSimulationUserIds(), message);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void switchPlayer(String group, String memberId, AccountVO user) {
|
public void switchPlayer(String group, String memberId, AccountVO user) {
|
||||||
|
Loading…
Reference in New Issue
Block a user