Revert "Fix battle UI crashing on unexpected requests"

It causes some unexpected issues on damage reports.
This commit is contained in:
Ivo Julca
2014-12-16 12:53:12 -05:00
parent 196a3b76ba
commit b69ced19cc

View File

@@ -222,7 +222,7 @@
}
} else {
this.controlsShown = true;
if (!controlsShown || !this.choice || this.choice.waiting) {
if (!controlsShown || (this.choice && this.choice.waiting)) {
this.updateControlsForPlayer();
}
}