From 1263a440429f942d3d5420599feac6edaac2d9f2 Mon Sep 17 00:00:00 2001 From: Michael Long <mlong@mlong.us> Date: Sun, 29 Nov 2020 08:48:28 -0800 Subject: [PATCH] Update game.js - the game is showing 2 pauses when exiting. This code is not even needed since you can set "pause after execution" in scfg. Now if that is enabled, there is only one pause shown. And if not enabled, there is no forced wait/press a key. Seems it would benefit sysops who want it either way. --- xtrn/starstocks/game.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xtrn/starstocks/game.js b/xtrn/starstocks/game.js index 60a03a6248..7e4a5d60b1 100644 --- a/xtrn/starstocks/game.js +++ b/xtrn/starstocks/game.js @@ -821,11 +821,6 @@ function quit() var splash=new Graphic(80,splash_size); splash.load(splash_filename); splash.draw(); - - console.gotoxy(1,23); - console.center("\1n\1c[\1hPress any key to continue\1n\1c]"); - while(console.inkey(K_NOECHO|K_NOSPIN)===""); - console.clear(); } //########################## CLASSES ######################################### -- GitLab