Revert "disable debug mode, remove custom key bindings"

This reverts commit e0d4177ffb.
Cette révision appartient à :
2025-10-27 00:56:30 +01:00
Parent 6527966282
révision 4972cd1eb9
2 fichiers modifiés avec 4 ajouts et 1 suppressions
+3
Voir le fichier
@@ -237,12 +237,15 @@ function pressKey(code)
case "KeyU": case "KeyU":
case "KeyY": //Y key to dig left, for German keyboards case "KeyY": //Y key to dig left, for German keyboards
case "Comma": case "Comma":
case "ControlRight":
keyAction = ACT_DIG_LEFT; keyAction = ACT_DIG_LEFT;
break; break;
case "KeyX": case "KeyX":
case "KeyO": case "KeyO":
case "KeyE": case "KeyE":
case "Period": case "Period":
case "Numpad0":
case "End":
keyAction = ACT_DIG_RIGHT; keyAction = ACT_DIG_RIGHT;
break; break;
case "Escape": //help & pause case "Escape": //help & pause
+1 -1
Voir le fichier
@@ -1,7 +1,7 @@
//============ //============
// MISC // MISC
//============ //============
var DEBUG = 0; var DEBUG = 1;
var demoSoundOff = 1; var demoSoundOff = 1;
function debug(string) function debug(string)