From 366f527aeeaa9160febc024cdb3f795098496839 Mon Sep 17 00:00:00 2001 From: Matt Walsh Date: Wed, 21 Dec 2022 14:05:14 -0600 Subject: [PATCH] auto play when hazard is present --- server/scripts/modules/hazards.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/scripts/modules/hazards.mjs b/server/scripts/modules/hazards.mjs index 2941987..9a5141b 100644 --- a/server/scripts/modules/hazards.mjs +++ b/server/scripts/modules/hazards.mjs @@ -92,8 +92,8 @@ class Hazards extends WeatherDisplay { for (let i = 0; i < pages; i += 1) this.timing.delay.push(timingStep); // add the final 3 second delay this.timing.delay.push(150); - this.setStatus(STATUS.loaded); this.calcNavTiming(); + this.setStatus(STATUS.loaded); } drawCanvas() {