Fix crash in Doubles
Fix crash in Doubles

I still don't understand how this code got there, but at least it was
an easy fix.

sirDonovan/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client