Fix error and inconsistent UI when the opponent runs out of time

This commit is contained in:
Andrio Celos 2023-08-12 18:46:55 +10:00
parent 38fc94f4e4
commit 9cd4538f67

View File

@ -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) {