Refactor and remove prevent default keyboard
This commit is contained in:
@@ -525,8 +525,7 @@ export class GameScene extends Phaser.Scene implements CenterListener {
|
||||
|
||||
this.createPromiseResolve();
|
||||
|
||||
// TODO: use inputmanager instead
|
||||
this.input.keyboard.on('keyup-SPACE', () => {
|
||||
this.userInputManager.spaceEvent( () => {
|
||||
this.outlinedItem?.activate();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user