# HG changeset patch # User contrebasse # Date 1294499393 -3600 # Node ID 6f99c7f30f156509e7d88d31d6bd313131790882 # Parent b59da9bd1df7a021d97413b34d78cdbf9fcbcb4d Add a small delay after unmounting diff -r b59da9bd1df7 -r 6f99c7f30f15 Degaine.lua --- a/Degaine.lua Sat Jan 08 15:17:11 2011 +0100 +++ b/Degaine.lua Sat Jan 08 16:09:53 2011 +0100 @@ -34,6 +34,7 @@ local IsMounted = IsMounted local GetNumCompanions, GetCompanionInfo = GetNumCompanions, GetCompanionInfo local UnitCastingInfo = UnitCastingInfo +local select = select --------------------------------------------------------------- @@ -49,7 +50,7 @@ local isGossipClosed = true local wasGossipOpened = false local t_lastGossipClosed = 0 -local wasMounted = IsMounted() -- handle mounts with UNIT_AURA +--local wasMounted = IsMounted() -- handle mounts with UNIT_AURA local isTradeSkill = false @@ -189,7 +190,7 @@ wasMounted = true else if wasMounted then - start(0) -- no animation for unmounting + start(0.5) -- no animation for unmounting wasMounted = false end end