From 7c9bf3842db6e18050010a16cf65a987c2d34f5a Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 9 Oct 2018 21:22:51 +0000 Subject: [PATCH] Fix --- structures/battle/Battle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/structures/battle/Battle.js b/structures/battle/Battle.js index ba788474..c0ae52ea 100644 --- a/structures/battle/Battle.js +++ b/structures/battle/Battle.js @@ -16,8 +16,8 @@ module.exports = class Battle { } reset(changeGuard = true) { - if (changeGuard && this.user.guarding) this.user.changeGuard(); - if (changeGuard && this.opponent.guarding) this.opponent.changeGuard(); + if (changeGuard && this.user.guard) this.user.changeGuard(); + if (changeGuard && this.opponent.guard) this.opponent.changeGuard(); this.userTurn = !this.userTurn; return null; }