From edd5c424b7d06e0033a16fbcd7a37d746674d46a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 26 Jun 2018 18:30:40 -0300 Subject: Fix bad map masks on weather cycle --- npc/functions/weather.txt | 4 ++++ 1 file changed, 4 insertions(+) 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? -- cgit v1.2.3-70-g09d2