Force ground snow

This commit is contained in:
Vortrex
2022-10-29 10:05:28 -05:00
parent 82ced29c71
commit 1eac24669f

View File

@@ -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);
}
// ===========================================================================