Fix a crash
Merge branch 'master' of https://github.com/jd4565/Pokemon-Showdown