Fix crash when a battle detects a crash (Yo dawg, we heard you like... etc)
Fix crash when a battle detects a crash
(Yo dawg, we heard you like... etc)

Gold-Solox/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,Ecuacion/Pokemon-Showdown,Psyientist/Showdown-Boilerplate,SolarisFox/Pokemon-Showdown,hayleysworld/serenity,Stroke123/POKEMON,Ransei1/Alt,svivian/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,Kill-The-Noise/BlakJack-Boilerplate,Ridukuo/Test,SolarisFox/Pokemon-Showdown,AWailOfATail/awoat,svivian/Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,sama2/Lumen-Pokemon-Showdown,Nineage/Origin,Lauc1an/Perulink-Showdown,Ransei1/Alt,Git-Worm/City-PS,PrimalGallade45/Dropp-Pokemon-Showdown,HoeenCoder/SpacialGaze,MayukhKundu/Flame-Savior,comedianchameleon/test,Hopenub/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,CreaturePhil/Pokemon-Showdown,MayukhKundu/Pokemon-Domain,kuroscafe/Showdown-Boilerplate,Pablo000/aaa,EmmaKitty/Pokemon-Showdown,MasterFloat/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown,anubhabsen/Pokemon-Showdown,johtooo/PS,AvinashSwaminathan/Pokelegends,xfix/Pokemon-Showdown,Pokemon-Devs/Pokemon-Showdown,KewlStatics/Alliance,DesoGit/Tsunami_PS,kupochu/Pokemon-Showdown,LightningStormServer/Lightning-Storm,asdfghjklohhnhn/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,KewlStatics/Alliance,AbsolitoSweep/Absol-server,sama2/Universe-Pokemon-Showdown,yashagl/yash-showdown,SilverTactic/Showdown-Boilerplate,SSJGVegito007/Vegito-s-Server,SubZeroo99/Pokemon-Showdown,Pikachuun/Joimmon-Showdown,TheManwithskills/serenity,Enigami/Pokemon-Showdown,BuzzyOG/Pokemon-Showdown,Firestatics/Firestatics46,AnaRitaTorres/Pokemon-Showdown,TheManwithskills/New-boiler-test,SerperiorBae/Bae-Showdown,ehk12/clone,ZeroParadox/BlastBurners,yashagl/yash-showdown,TheManwithskills/Dusk--Showdown,johtooo/PS,Legit99/Lightning-Storm-Server,gustavo515/test,CrestfallPS/Pokemon-Showdown,hayleysworld/asdfasdf,asdfghjklohhnhn/Pokemon-Showdown,JellalTheMage/Jellals-Server,kubetz/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,MayukhKundu/Technogear-Final,SilverTactic/Showdown-Boilerplate,ScottehMax/Pokemon-Showdown,cadaeic/Pokemon-Showdown,panpawn/Gold-Server,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,PrimalGallade45/Lumen-Pokemon-Showdown,jd4564/Pokemon-Showdown,Flareninja/Lumen-Pokemon-Showdown,TogeSR/Lumen-Pokemon-Showdown,TheManwithskills/New-boiler-test,Evil-kun/Pokemon-Showdown,TheDiabolicGift/Showdown-Boilerplate,CorruptedHelix/Pokemon-Showdown,Nineage/Showdown-Boilerplate,miahjennatills/Pokemon-Showdown,MeliodasBH/Articuno-Land,javi501/Lumen-Pokemon-Showdown,Lord-Haji/SpacialGaze,lAlejandro22/lolipoop,Flareninja/Hispano-Pokemon-Showdown,theodelhay/test,Lord-Haji/SpacialGaze,EienSeiryuu/Pokemon-Showdown,Thiediev/Pokemon-Showdown,gustavo515/test,TheManwithskills/COC,gustavo515/final,catanatron/pokemon-rebalance,Alpha-Devs/OmegaRuby-Server,Zarel/Pokemon-Showdown,Sora-League/Sora,Pikachuun/Joimmon-Showdown,azum4roll/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,HoeenCoder/SpacialGaze,yashagl/pokemon,kuroscafe/Paradox,AWailOfATail/awoat,Atwar/ServerClassroom,yashagl/pokecommunity,Atwar/server-epilogueleague.rhcloud.com,Firestatics/Firestatics46,Oiawesome/DPPtServ2,TheManwithskills/Creature-phil-boiler,EienSeiryuu/Pokemon-Showdown,Extradeath/advanced,gustavo515/gashoro,Checkinator/Pokemon-Showdown,xfix/Pokemon-Showdown,sama2/Viridian-Pokemon-Showdown,forbiddennightmare/Pokemon-Showdown-1,k3naan/Pokemon-Showdown,UniversalMan12/Universe-Server,lFernanl/Pokemon-Showdown,FakeSloth/Infinite,DesoGit/TsunamiPS,theodelhay/test,Wando94/Spite,MayukhKundu/Technogear,NoahVSGamingYT/Pokemon-Showdown,xfix/Pokemon-Showdown,Irraquated/Pokemon-Showdown,Parukia/Pokemon-Showdown,Kokonoe-san/Glacia-PS,TheFenderStory/Pokemon-Showdown,SerperiorBae/BaeShowdown,gustavo515/final,SSJGVegito007/Vegito-s-Server,Ridukuo/Test2,bai2/Dropp,hayleysworld/asdfasdf,lFernanl/Lumen-Pokemon-Showdown,aakashrajput/Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,yashagl/pokecommunity,MayukhKundu/Mudkip-Server,abrulochp/Lumen-Pokemon-Showdown,panpawn/Pokemon-Showdown,Psyientist/Showdown-Boilerplate,KewlStatics/Pokeindia-Codes,Flareninja/Showdown-Boilerplate,Alpha-Devs/Alpha-Server,Irraquated/Showdown-Boilerplate,Kokonoe-san/Glacia-PS,ZeroParadox/ugh,Tesarand/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,ZestOfLife/FestiveLife,urkerab/Pokemon-Showdown,hayleysworld/Showdown-Boilerplate,iFaZe/SliverX,hayleysworld/serenityc9,KewlStatics/Showdown-Template,scotchkorean27/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,gustavo515/batata,Chespin14/Custom-Platform-Pokemon-Showdown,Git-Worm/City-PS,SubZeroo99/Pokemon-Showdown,SilverTactic/Pokemon-Showdown,Wando94/Pokemon-Showdown,Johto-Serverr/Werfin-Boilerplate,hayleysworld/serenity,gustavo515/gashoro,Bryan-0/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,Ridukuo/Test2,Wando94/Pokemon-Showdown,panpawn/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,Irraquated/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,Flareninja/Pokemon-Showdown-1,AWailOfATail/Pokemon-Showdown,Breakfastqueen/advanced,Checkinator/Pokemon-Showdown,SilverTactic/Pokemon-Showdown,ZeroParadox/ugh,hayleysworld/harmonia,SerperiorBae/PokemonShowdown2,CorruptedHelix/Pokemon-Showdown,arkanox/MistShowdown,anubhabsen/Pokemon-Showdown,jd4564/Pokemon-Showdown,gustavo515/batata,Legendaryhades/Oblivion,aakashrajput/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Vacate/Pokemon-Showdown,DalleTest/Pokemon-Showdown,Alpha-Devs/Alpha-Server,InvalidDN/Pokemon-Showdown,JellalTheMage/PS-,panpawn/Gold-Server,Lauc1an/Perulink-Showdown,MayukhKundu/Technogear,KaitoV4X/Showdown,Zarel/Pokemon-Showdown,ehk12/bigbangtempclone,Evil-kun/Pokemon-Showdown,Parukia/Pokemon-Showdown,abrulochp/Lumen-Pokemon-Showdown,hayleysworld/Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,Alpha-Devs/OmegaRuby-Server,SkyeTheFemaleSylveon/Pokemon-Showdown,zek7rom/SpacialGaze,AustinXII/Pokemon-Showdown,Flareninja/Hispano-Pokemon-Showdown,MeliodasBH/boarhat,PauLucario/LQP-Server-Showdown,superman8900/Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,Breakfastqueen/advanced,piiiikachuuu/Pokemon-Showdown,Atwar/ServerClassroom,Bryan-0/Pokemon-Showdown,LustyAsh/EOS-Master,ShowdownHelper/Saffron,Adithya4Uberz/The-Tsunami-League,Volcos/SpacialGaze,HoeenCoder/SpacialGaze,CharizardtheFireMage/Showdown-Boilerplate,Kenny-/Pokemon-Showdown,Guernouille/Pokemon-Showdown,SerperiorBae/Bae-Showdown-2,TheDiabolicGift/Showdown-Boilerplate,Neosweiss/Pokemon-Showdown,zczd/enculer,JellalTheMage/PS-,DarkSuicune/Kakuja-2.0,TheDiabolicGift/Lumen-Pokemon-Showdown,Firestatics/omega,cadaeic/Pokemon-Showdown,Guernouille/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,abulechu/Lumen-Pokemon-Showdown,SerperiorBae/BaeShowdown,Ecuacion/Pokemon-Showdown,ZestOfLife/PSserver,TheManwithskills/Dusk--Showdown,psnsVGC/Wish-Server,svivian/Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,JennyPRO/Jenny,Hidden-Mia/Roleplay-PS,hayleysworld/harmonia,CreaturePhil/Showdown-Boilerplate,SilverTactic/Dragotica-Pokemon-Showdown,MeliodasBH/Articuno-Land,BuzzyOG/Pokemon-Showdown,MasterFloat/Pokemon-Showdown,Stroke123/POKEMON,Extradeath/psserver,AWailOfATail/Pokemon-Showdown,megaslowbro1/Showdown-Server-again,TheManwithskills/Server,SerperiorBae/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,Disaster-Area/Pokemon-Showdown,ehk12/coregit,Vacate/Pokemon-Showdown,DB898/theregalias,Firestatics/omega,NoahVSGamingYT/Pokemon-Showdown,Nineage/Origin,JellalTheMage/Jellals-Server,Hidden-Mia/Roleplay-PS,yashagl/pokemon-showdown,PauLucario/LQP-Server-Showdown,KewlStatics/Showdown-Template,LegendBorned/PS-Boilerplate,SkyeTheFemaleSylveon/Mudkip-Server,TheManwithskills/Server-2,xCrystal/Pokemon-Showdown,Adithya4Uberz/KTN,Enigami/Pokemon-Showdown,ankailou/Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,kuroscafe/Showdown-Boilerplate,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,LegendBorned/PS-Boilerplate,Irraquated/Showdown-Boilerplate,miahjennatills/Pokemon-Showdown,abrulochp/Dropp-Pokemon-Showdown,SerperiorBae/Pokemon-Showdown,zek7rom/SpacialGaze,arkanox/MistShowdown,DalleTest/Pokemon-Showdown,MayukhKundu/Technogear-Final,SerperiorBae/Bae-Showdown-2,comedianchameleon/test,MayukhKundu/Pokemon-Domain,Sora-Server/Sora,jumbowhales/Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,CreaturePhil/Pokemon-Showdown,kubetz/Pokemon-Showdown,DesoGit/TsunamiPS,brettjbush/Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,Darkshadow6/PokeMoon-Creation,sama2/Universe-Pokemon-Showdown,ZeroParadox/BlastBurners,panpawn/Gold-Server,Werfin96/Ultimate,Sora-Server/Sora,lFernanl/Zero-Pokemon-Showdown,sama2/Dropp-Pokemon-Showdown,Yggdrasil-League/Yggdrasil,QuiteQuiet/Pokemon-Showdown,SerperiorBae/Bae-Showdown,BadSteel/Omega-Pokemon-Showdown,LightningStormServer/Lightning-Storm,Flareninja/Pokemon-Showdown-1,Ecuacion/Lumen-Pokemon-Showdown,ehk12/bigbangtempclone,Pikachuun/Touhoumon-Showdown,BadSteel/Pokemon-Showdown,PS-Spectral/Spectral,UniversalMan12/Universe-Server,SkyeTheFemaleSylveon/Mudkip-Server,Disaster-Area/Pokemon-Showdown,Atwar/server-epilogueleague.rhcloud.com,RustServer/Pokemon-Showdown,hayleysworld/Showdown-Boilerplate,SilverTactic/Dragotica-Pokemon-Showdown,urkerab/Pokemon-Showdown,hayleysworld/Pokemon-Showdown,HoeenKid/Pokemon-Showdown-Johto,ScottehMax/Pokemon-Showdown,PS-Spectral/Spectral,AbsolitoSweep/Absol-server,psnsVGC/Wish-Server,Oiawesome/DPPtServ2,Celecitia/Plux-Pokemon-Showdown,TheFenderStory/Showdown-Boilerplate,Zarel/Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,Gold-Solox/Pokemon-Showdown,FakeSloth/wulu,bai2/Dropp,TogeSR/Lumen-Pokemon-Showdown,Mystifi/Exiled,VoltStorm/Server-pokemon-showdown,SerperiorBae/BaeShowdown,Mystifi/Exiled,zczd/enculer,Flareninja/Sora,TheFenderStory/Showdown-Boilerplate,svivian/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,Celecitia/Plux-Pokemon-Showdown,xCrystal/Pokemon-Showdown,TheManwithskills/serenity,ShowdownHelper/Saffron,iFaZe/SilverZ,xfix/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,Legit99/Lightning-Storm-Server,Pikachuun/Pokemon-Showdown,SerperiorBae/Bae-Showdown,Extradeath/psserver,svivian/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Tesarand/Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,UniversalMan12/Universe-Server,Raina4uberz/Light-server,QuiteQuiet/Pokemon-Showdown,Ridukuo/Test,yashagl/pokemon,Pablo000/aaa,Adithya4Uberz/The-Tsunami-League,MasterFloat/LQP-Server-Showdown,ankailou/Pokemon-Showdown,LightningStormServer/Lightning-Storm,Sora-League/Sora,TheManwithskills/Server---Thermal,Flareninja/Lumen-Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,Tesarand/Pokemon-Showdown,ehk12/coregit,TheManwithskills/Server-2,Fusxfaranto/Pokemon-Showdown,lFernanl/Zero-Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,comedianchameleon/test,Enigami/Pokemon-Showdown,Flareninja/Pokemon-Showdown,Yggdrasil-League/Yggdrasil,TheFenderStory/Pokemon-Showdown,EmmaKitty/Pokemon-Showdown,javi501/Lumen-Pokemon-Showdown,scotchkorean27/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown,MasterFloat/LQP-Server-Showdown,RustServer/Pokemon-Showdown,k3naan/Pokemon-Showdown,comedianchameleon/servertest1,TheManwithskills/DS,sirDonovan/Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,urkerab/Pokemon-Showdown,Breakfastqueen/advanced,hayleysworld/serenityc9,TheDiabolicGift/Lumen-Pokemon-Showdown,SerperiorBae/PokemonShowdown2,DesoGit/Tsunami_PS,TbirdClanWish/Pokemon-Showdown,DB898/theregalias,DarkSuicune/Kakuja-2.0,InvalidDN/Pokemon-Showdown,TheManwithskills/Server,TheManwithskills/COC,Extradeath/advanced,BasedGod7/PH,MayukhKundu/Mudkip-Server,KewlStatics/Shit,FakeSloth/Infinite,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Ecuacion/Lumen-Pokemon-Showdown,catanatron/pokemon-rebalance,danpantry/Pokemon-Showdown,Enigami/Pokemon-Showdown,Parukia/Pokemon-Showdown,ShowdownHelper/Saffron,yashagl/pokemon-showdown,PS-Spectral/Spectral,ehk12/clone,Pokemon-Devs/Pokemon-Showdown,HoeenCoder/SpacialGaze,Syurra/Pokemon-Showdown,sama2/Lumen-Pokemon-Showdown,Irraquated/EOS-Master,AvinashSwaminathan/lotus,Articuno-I/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,AustinXII/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,danpantry/Pokemon-Showdown,Zipzapadam/Server,lFernanl/Mudkip-Server,MeliodasBH/boarhat,xfix/Pokemon-Showdown,SerperiorBae/Bae-Showdown-2,sama2/Dropp-Pokemon-Showdown,hayleysworld/serenityserver,Zipzapadam/Server,kupochu/Pokemon-Showdown,Syurra/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,CreaturePhil/Showdown-Boilerplate,QuiteQuiet/Pokemon-Showdown,BlakJack/Kill-The-Noise,SkyeTheFemaleSylveon/Pokemon-Showdown,AvinashSwaminathan/lotus-v3,Sora-League/Sora,azum4roll/Pokemon-Showdown,DesoGit/Tsunami_PS,AvinashSwaminathan/lotus-v2,TheManwithskills/Server-2,Firestatics/Omega-Alpha,megaslowbro1/Showdown-Server-again,Elveman/RPCShowdownServer,Firestatics/Omega-Alpha,lFernanl/Pokemon-Showdown,comedianchameleon/servertest1,PrimalGallade45/Dropp-Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,Arcticblast/Pokemon-Showdown,superman8900/Pokemon-Showdown,MayukhKundu/Flame-Savior,abrulochp/Dropp-Pokemon-Showdown,Elveman/RPCShowdownServer,JennyPRO/Jenny,Sora-Server/Sora,ZestOfLife/PSserver,Flareninja/Sora,Flareninja/Sora,hayleysworld/serenityserver,KaitoV4X/Showdown,TheManwithskills/DS,sama2/Viridian-Pokemon-Showdown,Articuno-I/Pokemon-Showdown,BuzzyOG/Pokemon-Showdown,forbiddennightmare/Pokemon-Showdown-1,ZestOfLife/FestiveLife,TheManwithskills/Creature-phil-boiler,LustyAsh/EOS-Master,jumbowhales/Pokemon-Showdown,KewlStatics/Shit,lFernanl/Mudkip-Server,kotarou3/Krister-Pokemon-Showdown,AustinXII/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,Lord-Haji/SpacialGaze,kuroscafe/Paradox,Raina4uberz/Light-server,TheManwithskills/Server---Thermal,abulechu/Lumen-Pokemon-Showdown,Luobata/Pokemon-Showdown,Irraquated/EOS-Master,DarkSuicune/Pokemon-Showdown,Mystifi/Exiled,Flareninja/Pokemon-Showdown,lAlejandro22/lolipoop,Irraquated/Pokemon-Showdown,xCrystal/Pokemon-Showdown,brettjbush/Pokemon-Showdown,Volcos/SpacialGaze,Wando94/Spite