Opened 8 years ago
Closed 8 years ago
#815 closed defect (fixed)
mex upgrader nil error
Reported by: | Bluestone | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | BA trunk | Version: | |
Keywords: | Cc: |
Description
[f=0062106] Error: LuaRules::RunCallIn: error = 2, UnitDestroyed, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_mex_upgrader.lua"]:407: attempt to perform arithmetic on local 'x1' (a nil value) stack traceback:
[string "LuaRules/Gadgets/unit_mex_upgrader.lua"]:407: in function 'getDistance' [string "LuaRules/Gadgets/unit_mex_upgrader.lua"]:325: in function 'unregisterUnit' [string "LuaRules/Gadgets/unit_mex_upgrader.lua"]:300: in function 'UnitDestroyed' [string "LuaRules/gadgets.lua"]:1257: in function <[string "LuaRules/gadgets.lua"]:1254> (tail call): ?