This commit is contained in:
Daniel Odendahl Jr
2018-10-09 21:22:51 +00:00
parent 3b14bbcaf0
commit 7c9bf3842d
+2 -2
View File
@@ -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;
}