From 5b58735779741d0a21cfcef540ea2a08f845dcb9 Mon Sep 17 00:00:00 2001 From: mcmlxxix <> Date: Wed, 1 Jun 2011 18:29:26 +0000 Subject: [PATCH] fix game exit bug. --- xtrn/bublbogl/game.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xtrn/bublbogl/game.js b/xtrn/bublbogl/game.js index 84b5f79253..f123538c72 100644 --- a/xtrn/bublbogl/game.js +++ b/xtrn/bublbogl/game.js @@ -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(); -- GitLab