summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/weather.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index 74824d5f3..4281d7746 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -17,8 +17,9 @@ function script is_night {
// 2 = GETTIME_MINUTE
// 3 = GETTIME_HOUR
if (gettime(3) % 3 == 1) {
- // Summer: 2h15 day. 30m night.
- // Winter: 2h day. 1h night.
+ // Summer: 2h30 day. 30m night.
+ // Others: 2h15 day. 45m night.
+ // Winter: 2h day. 1h night.
if (season() == SUMMER && gettime(2) <= 30 || season() != WINTER && gettime(2) <= 15)
return 0;
return 1;