Reverted change, didn't work.

#story[1246]
This commit is contained in:
Kusal Ekanayake
2017-09-05 18:20:56 +12:00
parent 302bc91461
commit 56f1dd2efb
2 changed files with 7 additions and 7 deletions
@@ -388,7 +388,7 @@ public class ServerToClientThread implements Runnable, Observer {
String[] words = chatterText.split("\\s+");
if (words.length > 2 && isHost) {
switch (words[2].trim()) {
case "/speed":
case ">speed":
try {
GameState.setSpeedMultiplier(Double.valueOf(words[3]));
GameState.broadcastChatter(new ChatterMessage(
@@ -399,7 +399,7 @@ public class ServerToClientThread implements Runnable, Observer {
logger.error("cannot parse >speed value");
}
return;
case "/finish":
case ">finish":
GameState.broadcastChatter(new ChatterMessage(
chatterPayload[1],
"SERVER: Game will now finish"