unfucked 1,2,3 keys

This commit is contained in:
Mashy 2019-02-15 16:12:18 +10:00
parent a748e4710b
commit e77a948745

2
client/src/scenes/menu.cryps.list.js Normal file → Executable file
View 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