Skip to content
Snippets Groups Projects
Commit 5b587357 authored by mcmlxxix's avatar mcmlxxix
Browse files

fix game exit bug.

parent 66ce3766
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,7 @@ function boggle() {
break;
case "\x1b":
case "Q":
splashExit();
return;
case "P":
for(var d in player.days) {
if(player.days[d]==parseInt(current,10)) {
......@@ -532,7 +532,6 @@ function splashExit() {
console.center("\1n\1c[\1hPress any key to continue\1n\1c]");
while(console.inkey(K_NOECHO|K_NOSPIN)==="");
console.clear();
exit();
}
client.callback=processUpdates;
......@@ -906,7 +905,6 @@ function Score() {
}
boggle();
client.unsubscribe("boggle.players");
splashExit();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment