From 7c4f21e8e5907c570fd86de042a6ecaa9b38a6ab Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 29 Dec 2017 09:42:15 +0000 Subject: [PATCH] Fixed run-time error TypeError: data.players[useralias] is undefined --- xtrn/uberblox/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtrn/uberblox/game.js b/xtrn/uberblox/game.js index 350f7df7f7..95946854b1 100644 --- a/xtrn/uberblox/game.js +++ b/xtrn/uberblox/game.js @@ -12,8 +12,8 @@ load("sbbsdefs.js") load("funclib.js"); var oldpass = console.ctrl_key_passthru; -var data = new GameData(); var useralias = user.alias.replace(/\./g,"_"); +var data = new GameData(); /* cycle client and check for updates */ function cycle() { -- GitLab