Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

There is a bug/typo with the removeEventListener reference that throws an error if you press the keyboard key while the pause menu is open or has been opened. 

The problem: the listener is added to this._onAqwMapInvKeyPressed but removed with this._onAqwMapInvKeyBindings, so it never gets detached.

I fixed it and added guards so the handler only runs when the map scene is active and the UI objects exist. 

Should I write the part I fixed here?

Fixed.