Don't yield twice

oops lol
This commit is contained in:
Kurt 2020-02-07 21:34:05 -08:00
parent 6d24905a7d
commit 48bc4ec8fa

View File

@ -361,7 +361,10 @@ private IEnumerable<string> GetStringMoves()
foreach (int move in Moves.Where(move => move != 0 && move < Strings.Move.Count))
{
if (move == 237) // Hidden Power
{
yield return $"- {Strings.Move[move]} [{Strings.Types[1 + HiddenPowerType]}]";
continue;
}
yield return $"- {Strings.Move[move]}";
}