Fix g2 trade OT check

Closes #2332 thanks @WEERSOQUEER !
This commit is contained in:
Kurt
2019-06-24 15:45:49 -07:00
parent 456d10bbec
commit 6b18208ccb
2 changed files with 1 additions and 1 deletions

View File

@@ -349,7 +349,7 @@ private bool IsValidTradeOT12(PKM pkm)
return TrainerNames[(int)LanguageID.Korean] == OT;
const int start = (int)LanguageID.English;
const int end = (int)LanguageID.Italian;
const int end = (int)LanguageID.Spanish;
var index = Array.FindIndex(TrainerNames, start, end - start + 1, w => w == OT);
return index >= 0;
}