unfucked 1,2,3 keys
This commit is contained in:
Regular → Executable
+2
-2
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user