diff --git a/scripts/client/utilities.js b/scripts/client/utilities.js index 490bcef1..b5a400a0 100644 --- a/scripts/client/utilities.js +++ b/scripts/client/utilities.js @@ -224,13 +224,11 @@ function setLocalPlayerInterior(interior) { // =========================================================================== -function setSnowState(falling, ground) { +function setSnowState(falling, ground, forceGround) { logToConsole(LOG_DEBUG, `[AGRP.Utilities] Setting falling snow to ${falling} and ground snow to ${ground}`); snowing = falling; - if (ground) { - forceSnowing(false); - forceSnowing(ground); - } + snow.enabled = ground; + forceSnowing(forceGround); } // ===========================================================================