summaryrefslogtreecommitdiff
path: root/npc/functions/gmbot.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-07 01:13:57 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-07 01:13:57 -0300
commit5d0e494dfe87ef3ff79e307de012318123afa5ce (patch)
treec93a94372131c5bbbe79e92ff8080b7984e2d099 /npc/functions/gmbot.txt
parent918edfddb2f30c55527b27b8d919948f00dc49e3 (diff)
downloadserverdata-5d0e494dfe87ef3ff79e307de012318123afa5ce.tar.gz
serverdata-5d0e494dfe87ef3ff79e307de012318123afa5ce.tar.bz2
serverdata-5d0e494dfe87ef3ff79e307de012318123afa5ce.tar.xz
serverdata-5d0e494dfe87ef3ff79e307de012318123afa5ce.zip
Some more initialization could be useful.
Diffstat (limited to 'npc/functions/gmbot.txt')
-rw-r--r--npc/functions/gmbot.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt
index b5ab387ae..9bd8bba8b 100644
--- a/npc/functions/gmbot.txt
+++ b/npc/functions/gmbot.txt
@@ -105,7 +105,7 @@ OnTimer62000:
}
// Try to warp randomly, up to 30 attempts
- .@e=0;
+ .@e=0; .@x=0; .@y=0;
while (!checkcell(.mp$, .@x, .@y, cell_chkpass))
{
if (.@e == 30) {