aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorunthingable <[email protected]>2020-09-29 09:36:54 +0200
committerunthingable <[email protected]>2020-09-29 09:36:54 +0200
commit38223158cc61c17e9f7e3b847d4b6f6d51872f65 (patch)
treefb9c69bcebfa010f00da0e2b46db3bfb12cc521c
parent227cd8d7758697761d06aac962f3d7047ab50e07 (diff)
downloadOrca-38223158cc61c17e9f7e3b847d4b6f6d51872f65.tar.gz
Orca-38223158cc61c17e9f7e3b847d4b6f6d51872f65.zip
lost clock should not unpause Orca
-rw-r--r--desktop/sources/scripts/clock.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/sources/scripts/clock.js b/desktop/sources/scripts/clock.js
index d89a516..66a5448 100644
--- a/desktop/sources/scripts/clock.js
+++ b/desktop/sources/scripts/clock.js
@@ -127,7 +127,9 @@ function Clock (client) {
this.isPuppet = false
pulse.frame = 0
pulse.last = null
- this.setTimer(this.speed.value)
+ if (!this.isPaused) {
+ this.setTimer(this.speed.value)
+ }
}
// Timer