diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-08 16:27:31 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-08 16:27:31 -0300 |
commit | 1f991004ba06cd63a3fbd3417f660ae3e21d136c (patch) | |
tree | 7c19abbba3a393c0931fa80001eb714eda42b779 /npc/commands | |
parent | b939bab2d1e44ca87236c3fede8239523d33db19 (diff) | |
download | serverdata-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.txt | 4 |
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; |