summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-15 00:56:18 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-15 00:56:18 -0300
commit02761b874a7c098a69187b437ce1128319b50a9f (patch)
tree06b0bbf6d42ced89721ed64d530390f48b27249c /npc
parent8117dcb5d9dc35c07579c51907593db137c54beb (diff)
downloadserverdata-02761b874a7c098a69187b437ce1128319b50a9f.tar.gz
serverdata-02761b874a7c098a69187b437ce1128319b50a9f.tar.bz2
serverdata-02761b874a7c098a69187b437ce1128319b50a9f.tar.xz
serverdata-02761b874a7c098a69187b437ce1128319b50a9f.zip
Raise grace san time to 3 months. More than that means calculating what I am doing
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/time.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/time.txt b/npc/functions/time.txt
index f54973dde..a7f344123 100644
--- a/npc/functions/time.txt
+++ b/npc/functions/time.txt
@@ -22,11 +22,11 @@ function script santime {
return .@val;
}
-// Grace period when santime is reset: 1 month
+// Grace period when santime is reset: 3 months
// gcsantime( time )
function script gcsantime {
.@m=(60*60*24*30);
- if (santime() < .@m && getarg(0) > .@m*5)
+ if (santime() < .@m*3 && getarg(0) > .@m*5)
return 1;
return 0;
}