mirror of
https://github.com/AndrioCelos/TableturfBattleApp.git
synced 2026-07-18 00:50:59 -05:00
Fix error and inconsistent UI when the opponent runs out of time
This commit is contained in:
parent
38fc94f4e4
commit
9cd4538f67
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user