Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syui committed Nov 2, 2023
1 parent cfa52da commit 529646a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/worker/scene/lights.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<number>) {
Expand Down

0 comments on commit 529646a

Please sign in to comment.