summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-08 16:27:31 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-08 16:27:31 -0300
commit1f991004ba06cd63a3fbd3417f660ae3e21d136c (patch)
tree7c19abbba3a393c0931fa80001eb714eda42b779 /npc/commands
parentb939bab2d1e44ca87236c3fede8239523d33db19 (diff)
downloadserverdata-1f991004ba06cd63a3fbd3417f660ae3e21d136c.tar.gz
serverdata-1f991004ba06cd63a3fbd3417f660ae3e21d136c.tar.bz2
serverdata-1f991004ba06cd63a3fbd3417f660ae3e21d136c.tar.xz
serverdata-1f991004ba06cd63a3fbd3417f660ae3e21d136c.zip
Resync now uses rand2()
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/resync.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/resync.txt b/npc/commands/resync.txt
index 3c68d8644..246bfa88d 100644
--- a/npc/commands/resync.txt
+++ b/npc/commands/resync.txt
@@ -25,7 +25,7 @@ OnCall:
}
getmapxy(.@m$, .@x, .@y, 0);
slide .@x, .@y;
- @rsync_delay=gettimetick(2)+rand(4,6);
+ @rsync_delay=gettimetick(2)+rand2(3,5);
end;
// Hard Resync
@@ -34,7 +34,7 @@ OnCallRefresh:
dispbottom l("Not resync'ing to prevent flood.");
end;
}
- @rsync_delay=gettimetick(2)+rand(4,6);
+ @rsync_delay=gettimetick(2)+rand2(3,5);
atcommand("@refresh");
end;