Page 1 of 1

unit_shield_watch bug in 0.79

Posted: 24 May 2009, 18:23
by zerver
Perhaps this has been reported already. However, I searched the forum for unit_shield_watch and found no bug reports.

Bug is as follows:
* Start game
* /cheat
* /give all

Code: Select all

[    268] LuaRules::RunCallIn: error = 2, GameFrame, [string "LuaRules/Gadgets/unit_shield_watch.lua"]:35: bad argument #2 to 'SetUnitShieldState' (number expected, got boolean)
stack traceback:
	[C]: in function 'SetUnitShieldState'
	[string "LuaRules/Gadgets/unit_shield_watch.lua"]:35: in function 'GameFrame'
	[string "LuaRules/gadgets.lua"]:930: in function <[string "LuaRules/gadgets.lua"]:928>
	(tail call): ?
Also happens during real game play of course

Re: unit_shield_watch bug in 0.79

Posted: 24 May 2009, 18:36
by TheFatController
Have fixed this one, still sorting out the reclaim issues before next release will be asap.

Re: unit_shield_watch bug in 0.79

Posted: 24 May 2009, 19:00
by zerver
Great!