mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 15:53:11 -05:00
Revert "Fix battle UI crashing on unexpected requests"
It causes some unexpected issues on damage reports.
This commit is contained in:
@@ -222,7 +222,7 @@
|
||||
}
|
||||
} else {
|
||||
this.controlsShown = true;
|
||||
if (!controlsShown || !this.choice || this.choice.waiting) {
|
||||
if (!controlsShown || (this.choice && this.choice.waiting)) {
|
||||
this.updateControlsForPlayer();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user