updateOrigin is buggy
Closed this issue · 4 comments
jonathanGB commented
weird behaviour, need to investigate the root cause
jonathanGB commented
bug appears at this commit
jonathanGB commented
note too that if (robot == this.hasBubble) {
is a bad check in updateOrigin
jonathanGB commented
this.robots.delete(this.hasBubble.data.label._content);
this line would remove the replaced robot from the map, ulterior calls to updateOrigin
would not see it.
jonathanGB commented
Fixed!