From 529646a833352ddcf829302716705d3ddbfe5ad5 Mon Sep 17 00:00:00 2001 From: syui Date: Thu, 2 Nov 2023 21:49:15 +0900 Subject: [PATCH] fix --- src/worker/scene/lights.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/worker/scene/lights.ts b/src/worker/scene/lights.ts index 74bdc9b7..4ce8ba9c 100644 --- a/src/worker/scene/lights.ts +++ b/src/worker/scene/lights.ts @@ -105,10 +105,12 @@ function tick_ten() { } } -tick(); -if (card_time == num_hh || 0 == num_hh){ - tick_ten(); - tick_sky(); +if (!navigator.userAgent.match(/iPhone|Android.+Mobile/)) { + tick(); + if (card_time == num_hh || 0 == num_hh){ + tick_ten(); + tick_sky(); + } } export function init(updater: Observable) {