Don't force snow when starting/stopping

This commit is contained in:
Vortrex
2022-11-02 06:51:34 -05:00
parent 20d8b17099
commit 757df5db86

View File

@@ -356,7 +356,7 @@ function setSnowWithChance() {
getServerConfig().groundSnow = shouldBeSnowing;
getServerConfig().fallingSnow = shouldBeSnowing;
updatePlayerSnowState(null);
updatePlayerSnowState(null, false);
}
// ===========================================================================
@@ -370,8 +370,8 @@ function setRandomWeather() {
}
}
game.forceWeather(getWeatherData(weatherIndex).weatherId);
getServerConfig().weather = weatherIndex;
game.forceWeather(getWeatherData(randomWeatherIndex).weatherId);
getServerConfig().weather = randomWeatherIndex;
getServerConfig().needsSaved = true;
}