From 171f1fdd82ad18071c5f90ae0cb0b76cd93db020 Mon Sep 17 00:00:00 2001 From: Wheth Date: Tue, 19 Apr 2016 15:37:40 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20relearn=20moves'=20Legality=20Check=20for?= =?UTF-8?q?=20Pok=C3=A9mon=20with=20only=20one=20matching=20Wonder=20Card.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Legality/Checks.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Legality/Checks.cs b/Legality/Checks.cs index b0b99a328..57971ee69 100644 --- a/Legality/Checks.cs +++ b/Legality/Checks.cs @@ -726,7 +726,7 @@ private LegalityCheck[] verifyRelearn() if (CardMatch.Count > 1) return res; if (CardMatch.Count == 1) - { EncounterMatch = CardMatch[0]; RelearnBase = CardMatch[0].RelearnMoves; } + { EncounterMatch = CardMatch[0]; RelearnBase = CardMatch[0].RelearnMoves; return res; } EncounterMatch = EncounterType = null; goto noRelearn; // No WC match