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.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index 0dacd8874..32eae8ddd 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -81,6 +81,8 @@ OnMinute45:
.@mk=.@mk^MASK_SANDSTORM;
if (.@mk & MASK_SNOW)
.@mk=.@mk^MASK_SNOW;
+ if (.@mk & MASK_NIGHT)
+ .@mk=.@mk^MASK_NIGHT;
// Remove all current masks, and add rain/snow/sand
if (.@type$ == "desert") {