unit_shield_watch bug in 0.79
Posted: 24 May 2009, 18:23
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
Also happens during real game play of course
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): ?