fix some client shzi"
This commit is contained in:
parent
42bf2a058a
commit
b556fec8e2
@ -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
|
||||||
|
|||||||
@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,7 +13,6 @@ strangle
|
|||||||
|
|
||||||
|
|
||||||
## SOON
|
## SOON
|
||||||
* tutorial
|
|
||||||
* aoe skills
|
* aoe skills
|
||||||
|
|
||||||
* keep track of games joined
|
* keep track of games joined
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user