unfucked 1,2,3 keys
This commit is contained in:
parent
a748e4710b
commit
e77a948745
2
client/src/scenes/menu.cryps.list.js
Normal file → Executable file
2
client/src/scenes/menu.cryps.list.js
Normal file → Executable file
@ -64,7 +64,7 @@ class MenuCrypList extends Phaser.Scene {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (KEY_MAP[i]) {
|
if (KEY_MAP[i]) {
|
||||||
this.input.keyboard.on(KEY_MAP[i], selectFn, this);
|
this.input.keyboard.on(KEY_MAP[i], () => this.game.events.emit('CRYP_ACTIVE', cryp), this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* const crypSelect = this.add
|
/* const crypSelect = this.add
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user