mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 05:27:14 -05:00
Don't yield twice
oops lol
This commit is contained in:
parent
6d24905a7d
commit
48bc4ec8fa
|
|
@ -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]}";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user