summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/weather.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index a89cd2b65..7caf10704 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -16,7 +16,7 @@ function script is_night {
// By default, each period lasts a whole hour, give or take 15 minutes (?)
// 2 = GETTIME_MINUTE
// 3 = GETTIME_HOUR
- if (gettime(3) % 1) {
+ if (gettime(3) % 2) {
if (season() == SUMMER && gettime(2) <= 30 || season() != WINTER && gettime(2) <= 15)
return 0;
return 1;