Fix crash in tournaments
Fix crash in tournaments

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