That said, line 161 is gibberish to me. I thought I could add some simple error handling, but in seeing line 161 I don't know how I would. Could someone help me?
Code: Select all
[f=0000000] Error: LuaRules::RunCallIn: error = 2, UnitCloaked, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/lups_cloak_fx.lua"]:161: attempt to index upvalue 'Lups' (a nil value)
stack traceback:
[string "LuaRules/Gadgets/lups_cloak_fx.lua"]:161: in function 'UnitCloaked'
[string "LuaRules/gadgets.lua"]:1506: in function <[string "LuaRules/gadgets.lua"]:1504>
(tail call): ?
https://github.com/EvolutionRTS/Evoluti ... x.lua#L161