changeset 18:b7966675a105

Fixed a bug when automounting in AQ40
author syzler
date Sat, 16 Apr 2011 14:47:47 +0000
parents 392cb2bd6e58
children 2ae5f67e313a
files MyLilPony.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MyLilPony.lua	Sun Apr 10 16:06:15 2011 +0000
+++ b/MyLilPony.lua	Sat Apr 16 14:47:47 2011 +0000
@@ -76,8 +76,8 @@
     
     -- player is in Temple of Ahn'Qiraj (AQ40)
     if zone == "Ahn'Qiraj" then
-        if not IsModifierKeyDown() and MyLilPony.CallMountByRegex("Qiraji Battle Tank") then
-            return
+        if not IsModifierKeyDown() and MyLilPony.CallMountByPattern("Qiraji Battle Tank") then
+            return;
         end
     end