From 50af994b7e08a6735f203db6dd30d6cb3fd3db6d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 Dec 2018 13:44:58 -0200 Subject: And guess what? I really broke the script @Xtreem %%a --- npc/functions/weather.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions') 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; -- cgit v1.2.3-60-g2f50