summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/weather.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index 4294b7d3d..592949dd9 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -193,7 +193,7 @@ OnMinute45:
// It's 2 messages every 3 hours. (r7.5)
// Player might be on cave, and this will help them tracking time.
if (is_night() && !$@WEATHER_NIGHT) {
- .@c = getunits(BL_PC, .@players, 20);
+ .@c = getunits(BL_PC, .@players, MAX_CYCLE_PC);
for (.@i = 0; .@i < .@c; .@i++) {
message(.@players[.@i], "The night falls.");
}
@@ -202,7 +202,7 @@ OnMinute45:
donpcevent("@exprate::OnReload");
donpcevent("@droprate::OnReload");
} else if (!is_night() && $@WEATHER_NIGHT) {
- .@c = getunits(BL_PC, .@players, 20);
+ .@c = getunits(BL_PC, .@players, MAX_CYCLE_PC);
for (.@i = 0; .@i < .@c; .@i++) {
message(.@players[.@i], "The day rises.");
}