We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
id
moving rooms sometimes causes an id to be undefined. Either ef.id or poison.id from the console error.
ef.id
poison.id
Error Message: enterRoom.js:73 Uncaught TypeError: Cannot read property 'id' of undefined at enterRoom.js:73 at Array.findIndex () at CurrentRoom.destroy (enterRoom.js:73) at enterNewRoom (enterRoom.js:39) at HTMLElement.action (player.js:75) at HTMLElement. (touch-icon.js:28) (anonymous) @ enterRoom.js:73 destroy @ enterRoom.js:73 enterNewRoom @ enterRoom.js:39 action @ player.js:75 (anonymous) @ touch-icon.js:28
enterRoom.js:73 let i = this._player.effects.findIndex((ef) => ef.id === this._poison.id);
let i = this._player.effects.findIndex((ef) => ef.id === this._poison.id);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
moving rooms sometimes causes an
id
to be undefined. Eitheref.id
orpoison.id
from the console error.Error Message:
enterRoom.js:73 Uncaught TypeError: Cannot read property 'id' of undefined
at enterRoom.js:73
at Array.findIndex ()
at CurrentRoom.destroy (enterRoom.js:73)
at enterNewRoom (enterRoom.js:39)
at HTMLElement.action (player.js:75)
at HTMLElement. (touch-icon.js:28)
(anonymous) @ enterRoom.js:73
destroy @ enterRoom.js:73
enterNewRoom @ enterRoom.js:39
action @ player.js:75
(anonymous) @ touch-icon.js:28
enterRoom.js:73
let i = this._player.effects.findIndex((ef) => ef.id === this._poison.id);
The text was updated successfully, but these errors were encountered: