Quantcast

Bug fix

Scott Sibley [12-14-10 - 18:14]
Bug fix
Filename
Modules/UnitTooltip/UnitTooltip.lua
diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua
index c6ffd46..f43fbac 100644
--- a/Modules/UnitTooltip/UnitTooltip.lua
+++ b/Modules/UnitTooltip/UnitTooltip.lua
@@ -481,6 +481,7 @@ end
 	[25] = {
 		name = "Movement",
 		left = [[
+if not UnitExists(unit) then return lastMovement end
 local pitch = GetUnitPitch(unit)
 local speed = GetUnitSpeed(unit)
 local str = ""
@@ -493,6 +494,7 @@ if speed > 0 then
 	end
 	str = str .. format("Speed: %.1f", speed)
 end
+lastMovement = str
 return str
 ]],
 		leftUpdatinge = true,