Fixed bug that sent console buffer to random players.

This commit is contained in:
simon 2017-12-30 16:29:39 -05:00
parent 55d4c19fe1
commit 08f1aa8686

View File

@ -197,6 +197,8 @@ public class SocketServer extends WebSocketServer {
} }
json.put("c", buff); json.put("c", buff);
} else if (json.containsKey("c")) {
json.remove("c");
} }
json.put("cm", unit.getConsoleMode()); json.put("cm", unit.getConsoleMode());