summaryrefslogtreecommitdiff
path: root/npc/functions/weather.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-19 13:44:58 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-19 13:44:58 -0200
commit50af994b7e08a6735f203db6dd30d6cb3fd3db6d (patch)
treee7353cadd674acedcf29c700331bfb299e7a23a9 /npc/functions/weather.txt
parentc2fcc0bf61dc32a822f4e55c7945a08b870e9411 (diff)
downloadserverdata-50af994b7e08a6735f203db6dd30d6cb3fd3db6d.tar.gz
serverdata-50af994b7e08a6735f203db6dd30d6cb3fd3db6d.tar.bz2
serverdata-50af994b7e08a6735f203db6dd30d6cb3fd3db6d.tar.xz
serverdata-50af994b7e08a6735f203db6dd30d6cb3fd3db6d.zip
And guess what? I really broke the script @Xtreem %%a
Diffstat (limited to 'npc/functions/weather.txt')
-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;