mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 01:44:37 -05:00
Don't yield twice
oops lol
This commit is contained in:
@@ -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]}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user