summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/hub.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 6569e3c75..e49312f31 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -15,11 +15,11 @@ function script HUB_Login {
}
// Random Treasure cleaning
- if (CLEANUP < gettimetick(2)-CHEST_WAITTIME)
+ if (CHAREG_CLEANUP < gettimetick(2)-CHEST_WAITTIME)
deletearray RNGTREASURE_DATE;
// PVP Cooldown cleaning
- if (CLEANUP < gettimetick(2)-PVP_WAITTIME)
+ if (CHAREG_CLEANUP < gettimetick(2)-PVP_WAITTIME)
deletearray PVP_COOLDOWN;
return;
@@ -179,7 +179,7 @@ function script HUB_Logout {
// Register logout time
if (!.@dead)
- CLEANUP=gettimetick(2);
+ CHAREG_CLEANUP=gettimetick(2);
return;
}