Closed
Description
Undefined variable error from line 300 (in the getTurnData()
method) when trying to access the name of a player who just disconnected.
This bug seems like it might be hard to replicate, but my best guess is that it's a timing issue with the turnChange
and disconnect
events.
Idea for a solution: Just add another check to the offending function so that it only runs if the variable it's accessing is not null.