From 8eec8848cf9334a4d5864e6393c689ec6e727730 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 22 Feb 2020 16:04:24 -0300 Subject: Fix startup, but this is a mess --- npc/functions/weather.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/functions') 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; -- cgit v1.2.3-70-g09d2