Skip to content

Commit

Permalink
Another move relearner fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Silv3rPRO committed Apr 19, 2018
1 parent 77a231f commit 35672fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PROProtocol/MovesManager.cs
Expand Up @@ -65,6 +65,7 @@ private MovesManager()

public int GetMoveId(string moveName)
{
moveName = moveName.ToLowerInvariant();
if (_namesToIds.ContainsKey(moveName))
{
return _namesToIds[moveName];
Expand All @@ -74,6 +75,7 @@ public int GetMoveId(string moveName)

public MoveData GetMoveData(string moveName)
{
moveName = moveName.ToLowerInvariant();
if (_namesToMoves.ContainsKey(moveName))
{
return _namesToMoves[moveName];
Expand Down

0 comments on commit 35672fb

Please sign in to comment.