mirror of
https://github.com/AndrioCelos/TableturfBattleApp.git
synced 2026-08-28 05:43:59 -05:00
Fix error and inconsistent UI when the opponent runs out of time
This commit is contained in:
@@ -63,7 +63,7 @@ class TimeLabel {
|
||||
if (this.timeLeft == 0) {
|
||||
clearInterval(this.interval!);
|
||||
this.interval = null;
|
||||
if (this.ontimeout)
|
||||
if (this.ontimeout && !this.faded)
|
||||
this.ontimeout();
|
||||
}
|
||||
if (!this.paused) {
|
||||
|
||||
Reference in New Issue
Block a user