mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
Inserts break to prevent fall through in checkFlag
This commit is contained in:
parent
828897316e
commit
ac5c3b8739
@ -595,6 +595,7 @@ export default class Move implements Localizable {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case MoveFlags.IGNORE_PROTECT:
|
||||
if (user.hasAbilityWithAttr(IgnoreProtectOnContactAbAttr) &&
|
||||
this.checkFlag(MoveFlags.MAKES_CONTACT, user, target)) {
|
||||
|
Loading…
Reference in New Issue
Block a user