summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-24 14:12:01 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-01 16:11:22 +0200
commitf3fb308eeb4fa57d0e5d00000b51e2ff0081a196 (patch)
treefaef6145a1d77cbe82fdc5aad4b0ed8ae89c1294 /play.js
parente8ace74b32b9a7426483e17fa0b56c047f7492af (diff)
downloadwaterloo-campaign-1815-f3fb308eeb4fa57d0e5d00000b51e2ff0081a196.tar.gz
The Deluge!
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index f990c91..40c7920 100644
--- a/play.js
+++ b/play.js
@@ -404,7 +404,7 @@ function on_update() {
}
ui.turn.style.left = (40 + TURN_X + (view.turn-1) * TURN_DX) + "px"
- ui.turn.classList.toggle("flip", view.rain > 0)
+ ui.turn.classList.toggle("flip", view.rain === 2)
ui.remain.style.left = (20 + 109 + (view.remain % 10) * 47.5 | 0) + "px"
ui.remain.classList.toggle("flip", view.remain > 9)