diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-12 08:57:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-12 08:57:41 -0300 |
commit | 8ca3e6053c4880c93c50ca1411fa2eb023bd7d59 (patch) | |
tree | 0f698a4d7b0ed69e33fe2611798c0398c73655ad /npc | |
parent | 07403f5af4a0be125fddbe1dc40330d043309812 (diff) | |
download | serverdata-8ca3e6053c4880c93c50ca1411fa2eb023bd7d59.tar.gz serverdata-8ca3e6053c4880c93c50ca1411fa2eb023bd7d59.tar.bz2 serverdata-8ca3e6053c4880c93c50ca1411fa2eb023bd7d59.tar.xz serverdata-8ca3e6053c4880c93c50ca1411fa2eb023bd7d59.zip |
The plan is: If `debug` is set, skip day/night cycle.
This will save RAM, which keeps killing test server.
Diffstat (limited to 'npc')
-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 c6b0876ad..09d72513d 100644 --- a/npc/functions/weather.txt +++ b/npc/functions/weather.txt @@ -200,7 +200,7 @@ OnMinute45: debugmes "[Weather.sys] Regenerated"; // Hardcore: Skip day/night cycles - if ($HARDCORE) { + if ($HARDCORE || debug) { $@WEATHER_NIGHT=is_night(true); end; } |