summaryrefslogtreecommitdiff
path: root/npc/functions/weather.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-22 16:04:24 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-22 16:04:24 -0300
commit8eec8848cf9334a4d5864e6393c689ec6e727730 (patch)
tree008672f2fbe72256468d3291e5905218ec3935da /npc/functions/weather.txt
parent510049c468560d366bb29009da2a4e97ea4edcc9 (diff)
downloadserverdata-8eec8848cf9334a4d5864e6393c689ec6e727730.tar.gz
serverdata-8eec8848cf9334a4d5864e6393c689ec6e727730.tar.bz2
serverdata-8eec8848cf9334a4d5864e6393c689ec6e727730.tar.xz
serverdata-8eec8848cf9334a4d5864e6393c689ec6e727730.zip
Fix startup, but this is a mess
Diffstat (limited to 'npc/functions/weather.txt')
-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;