summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/weather.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index 36bd99fec..d67212bb0 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -49,7 +49,9 @@ function script is_night {
*/
OnInit:
+ // This is weather startup
.@init=true;
+ $@WEATHER_NIGHT=is_night(true);
// Bind commands
bindatcmd "wsnow", "#WeatherCore::OnSnow", 80, 80, 1;
bindatcmd "wrain", "#WeatherCore::OnRain", 80, 80, 1;