unfucked 1,2,3 keys

This commit is contained in:
Mashy
2019-02-15 16:12:18 +10:00
parent a748e4710b
commit e77a948745
+2 -2
View File
@@ -64,7 +64,7 @@ class MenuCrypList extends Phaser.Scene {
};
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
@@ -84,7 +84,7 @@ class MenuCrypList extends Phaser.Scene {
.setInteractive()
.setOrigin(0)
.on('pointerdown', selectFn);
crypInteract.itemSelect = () => {
crypInteract.setFillStyle(COLOURS.SELECT);
};