summaryrefslogtreecommitdiff
path: root/npc/functions/weather.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/weather.txt')
-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?