summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {