Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Cannot call method 'setPosition' of null. #36

Closed
cjsaylor opened this issue Oct 30, 2013 · 0 comments
Closed

Cannot call method 'setPosition' of null. #36

cjsaylor opened this issue Oct 30, 2013 · 0 comments

Comments

@cjsaylor
Copy link
Member

Welcome .... prepare to be attacked!
Round 1
Player health: 1000

Round 2
Player health: 1000
Targeting 1 with power attack mode.
... barely scratches grunt(1). (2 damage)
grunt (1) moved to position 3
https://node-defender.herokuapp.com/js/game_board.js156: Uncaught TypeError: Cannot call method 'setPosition' of null

Happens periodically but is resolved by refreshing the page. Could be a race condition moving an enemy that is no longer in the set.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants