From 826e50b89c80c17d4eda767deb618f517358dcf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=A2=E1=84=91=E1=85=B3=E1=86=AF=20=E1=84=82?= =?UTF-8?q?=E1=85=A9=E1=84=90=E1=85=B3=E1=84=87=E1=85=AE=E1=86=A8?= Date: Sat, 16 Mar 2019 23:56:41 +0900 Subject: [PATCH] Fix: undefined function error --- src/game/setup/setup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/setup/setup.js b/src/game/setup/setup.js index e25bd0e..45bae86 100644 --- a/src/game/setup/setup.js +++ b/src/game/setup/setup.js @@ -112,7 +112,7 @@ var Setup = { } inputText.canvasInput._onkeyup = (function() { if(event.keyCode == Phaser.Keyboard.ENTER) { - this.startMenu(); + this.checkNewEnterCode(); } }).bind(this); @@ -151,7 +151,7 @@ var Setup = { this.showInfoText("입장번호를 바꾸겠습니다."); var dbConnectManager = new DBConnectManager(); - dbConnectManager.updateEditPlayerEnterCode( + dbConnectManager.updatePlayerEnterCode( sessionStorageManager.getMaestroID(), sessionStorageManager.getPlayerID(), newEnterCode,