fix some client shzi"
This commit is contained in:
parent
42bf2a058a
commit
b556fec8e2
@ -104,8 +104,8 @@ function registerEvents(registry, events, tutorial) {
|
||||
title: 'LOGIN',
|
||||
position: 'center',
|
||||
inputs: [
|
||||
[USER_INPUT, 'change', null, true], // true to focus
|
||||
[PASSWORD_INPUT, 'change', null],
|
||||
[USER_INPUT, 'change', () => true, true], // true to focus
|
||||
[PASSWORD_INPUT, 'change', () => true],
|
||||
],
|
||||
buttons: [
|
||||
[LOGIN_BUTTON, submitLogin], // true to focus
|
||||
|
||||
@ -89,7 +89,7 @@ class Menu extends Phaser.Scene {
|
||||
Object.keys(this.scene.manager.keys).forEach((key) => {
|
||||
if (!ACTIVE_SCENES.includes(key)) {
|
||||
// Remove listeners and scene
|
||||
this.scene.get(key).cleanUp();
|
||||
if (this.scene.get(key).cleanUp) this.scene.get(key).cleanUp();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -13,7 +13,6 @@ strangle
|
||||
|
||||
|
||||
## SOON
|
||||
* tutorial
|
||||
* aoe skills
|
||||
|
||||
* keep track of games joined
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user