fix some client shzi"

This commit is contained in:
ntr 2018-12-22 18:29:48 +11:00
parent 42bf2a058a
commit b556fec8e2
3 changed files with 3 additions and 4 deletions

View File

@ -104,8 +104,8 @@ function registerEvents(registry, events, tutorial) {
title: 'LOGIN', title: 'LOGIN',
position: 'center', position: 'center',
inputs: [ inputs: [
[USER_INPUT, 'change', null, true], // true to focus [USER_INPUT, 'change', () => true, true], // true to focus
[PASSWORD_INPUT, 'change', null], [PASSWORD_INPUT, 'change', () => true],
], ],
buttons: [ buttons: [
[LOGIN_BUTTON, submitLogin], // true to focus [LOGIN_BUTTON, submitLogin], // true to focus

View File

@ -89,7 +89,7 @@ class Menu extends Phaser.Scene {
Object.keys(this.scene.manager.keys).forEach((key) => { Object.keys(this.scene.manager.keys).forEach((key) => {
if (!ACTIVE_SCENES.includes(key)) { if (!ACTIVE_SCENES.includes(key)) {
// Remove listeners and scene // Remove listeners and scene
this.scene.get(key).cleanUp(); if (this.scene.get(key).cleanUp) this.scene.get(key).cleanUp();
} }
}); });
} }

View File

@ -13,7 +13,6 @@ strangle
## SOON ## SOON
* tutorial
* aoe skills * aoe skills
* keep track of games joined * keep track of games joined