diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-19 13:44:58 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-19 13:44:58 -0200 |
commit | 50af994b7e08a6735f203db6dd30d6cb3fd3db6d (patch) | |
tree | e7353cadd674acedcf29c700331bfb299e7a23a9 | |
parent | c2fcc0bf61dc32a822f4e55c7945a08b870e9411 (diff) | |
download | serverdata-50af994b7e08a6735f203db6dd30d6cb3fd3db6d.tar.gz serverdata-50af994b7e08a6735f203db6dd30d6cb3fd3db6d.tar.bz2 serverdata-50af994b7e08a6735f203db6dd30d6cb3fd3db6d.tar.xz serverdata-50af994b7e08a6735f203db6dd30d6cb3fd3db6d.zip |
And guess what? I really broke the script @Xtreem %%a
-rw-r--r-- | npc/functions/weather.txt | 2 |
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; |