From f3fb308eeb4fa57d0e5d00000b51e2ff0081a196 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 24 Sep 2023 14:12:01 +0200 Subject: The Deluge! --- play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'play.js') 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) -- cgit v1.2.3