Opened 6 years ago

Closed 6 years ago

#806 closed defect (fixed)

nil error in passive builders gadget

Reported by: nixtux Owned by:
Priority: major Milestone:
Component: BA trunk Version:
Keywords: Cc:

Description

nil error is new version of passive builders gadget

Error: LuaRules::RunCallIn: error = 2, GameFrame, [string "LuaRules/Gadgets/unit_passive_builders_ii.l..."]:127: attempt to index local 'targetCosts' (a nil value) stack traceback:

[string "LuaRules/Gadgets/unit_passive_builders_ii.l..."]:127: in function 'GameFrame' [string "LuaRules/gadgets.lua"]:838: in function <[string "LuaRules/gadgets.lua"]:836> (tail call): ?

steps to reproduce , /give all , select all unit and make sure passive is on , self D all units.

Change History (2)

comment:1 by nixtux, 6 years ago

Summary: nil error is passive builders gadgetnil error in passive builders gadget

comment:2 by nixtux, 6 years ago

Resolution: fixed
Status: newclosed

Fixed Changeset [3252]

Note: See TracTickets for help on using tickets.