Fix battle-disconnection detection logic
Fix battle-disconnection detection logic

AustinXII/Pokemon-Showdown,svivian/Pokemon-Showdown,xfix/Pokemon-Showdown,urkerab/Pokemon-Showdown,panpawn/Pokemon-Showdown,Enigami/Pokemon-Showdown,panpawn/Pokemon-Showdown,xfix/Pokemon-Showdown,panpawn/Gold-Server,AustinXII/Pokemon-Showdown,DesoGit/Tsunami_PS,QuiteQuiet/Pokemon-Showdown,Enigami/Pokemon-Showdown,Zarel/Pokemon-Showdown,Enigami/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,HoeenCoder/SpacialGaze,HoeenCoder/SpacialGaze,DesoGit/Tsunami_PS,Zarel/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Enigami/Pokemon-Showdown,svivian/Pokemon-Showdown,xfix/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,svivian/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,DesoGit/Tsunami_PS,xfix/Pokemon-Showdown,xfix/Pokemon-Showdown,HoeenCoder/SpacialGaze,QuiteQuiet/Pokemon-Showdown,panpawn/Gold-Server,Zarel/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,AustinXII/Pokemon-Showdown,urkerab/Pokemon-Showdown,svivian/Pokemon-Showdown,svivian/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,HoeenCoder/SpacialGaze,panpawn/Gold-Server,urkerab/Pokemon-Showdown