mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user