summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-26 18:30:40 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-26 18:30:40 -0300
commitedd5c424b7d06e0033a16fbcd7a37d746674d46a (patch)
tree611ad4937333f2463fbe830fbb69153b8e26994d /npc/functions
parentb14a80d724c5dd4eeaa9c5fce86c630cae579ea4 (diff)
downloadserverdata-edd5c424b7d06e0033a16fbcd7a37d746674d46a.tar.gz
serverdata-edd5c424b7d06e0033a16fbcd7a37d746674d46a.tar.bz2
serverdata-edd5c424b7d06e0033a16fbcd7a37d746674d46a.tar.xz
serverdata-edd5c424b7d06e0033a16fbcd7a37d746674d46a.zip
Fix bad map masks on weather cycle
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/weather.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index 300f3b009..2ec121048 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -102,6 +102,10 @@ OnMinute45:
atcommand "@mapexit";
}
+ // Bugfix
+ if (!(.@mk & MASK_NONE))
+ .@mk=.@mk|MASK_NONE;
+
setmapmask .@key$, .@mk;
// Is it night time?