Tracking players who joined after map was changed
Critical bug:
Something wrong with surrender vote and players who joined after the map has changed.
( need to start doing tests while joining later after map has changed D: )
Happens only the first time I inter !sr
Get this if I join later and start surrender vote.
L 09/03/2017 - 16:09:41: [SM] Exception reported: Divide by zero
L 09/03/2017 - 16:09:41: [SM] Blaming: Surrender.smx
L 09/03/2017 - 16:09:41: [SM] Call stack trace:
L 09/03/2017 - 16:09:41: [SM] [1] Line 575, E:\Projects\EmpiresServer\NeoonyTestServer\addons\sourcemod\scripting\Surrender.sp::Handle_VoteMenu
L 09/03/2017 - 16:09:41: [SM] [3] VoteMenu
L 09/03/2017 - 16:09:41: [SM] [4] Line 562, E:\Projects\EmpiresServer\NeoonyTestServer\addons\sourcemod\scripting\Surrender.sp::VoteToTeam
L 09/03/2017 - 16:09:41: [SM] [5] Line 456, E:\Projects\EmpiresServer\NeoonyTestServer\addons\sourcemod\scripting\Surrender.sp::Command_Surrender