View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005213 | Spring engine | Lua | public | 2016-04-23 01:52 | 2016-04-23 06:50 |
| Reporter | PicassoCT | Assigned To | cleanrock | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0005213: gadgets.lua AllowBuilderHoldFire is broken | ||||
| Description | Thrown Error is: [f=0000546] Error: LuaRules::RunCallIn: error = 2, AllowBuilderHoldFire, [Internal Lua error: Call failure] [string "luagadgets/gadgets.lua"]:1161: bad argument #1 to 'ipairs' (table expected, got function) https://github.com/spring/spring/blob/aaf05cb6ff1effbdfcc3628ad5f0e77f70781972/cont/base/springcontent/LuaGadgets/gadgets.lua#L1201 | ||||
| Steps To Reproduce | Start any game using base content Build a armed Builder | ||||
| Additional Information | Correct Version? function gadgetHandler:AllowBuilderHoldFire(unitID, unitDefID, action) for _,g in r_ipairs(self.AllowBuilderHoldFireList) do if (not g:AllowBuilderHoldFire(unitID, unitDefID, action)) then return false end end return true end Could not find the used Lists in spring source. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-04-23 01:52 | PicassoCT | New Issue | |
| 2016-04-23 06:50 | cleanrock | Changeset attached | => spring develop f5c8308c |
| 2016-04-23 06:50 | cleanrock | Note Added: 0016200 | |
| 2016-04-23 06:50 | cleanrock | Assigned To | => cleanrock |
| 2016-04-23 06:50 | cleanrock | Status | new => resolved |
| 2016-04-23 06:50 | cleanrock | Resolution | open => fixed |