dulux-oz
August 28th, 2014, 05:13
Hey Guys
I think we've got a bug in the manager_actions.lua of the CoreRPG Ruleset (v3.0.7).
Original is:
function unregisterResultHandler(sRollType)
if aResultHandlers then
aResultHandlers[sActionType] = nil;
end
end
Shouldn't that read:
function unregisterResultHandler(sActionType)
if aResultHandlers then
aResultHandlers[sActionType] = nil;
end
end
Ie the function parameter is not the same as the array index in the original - or have I simply spent waaaayyyy too long looking at this stuff :)
Cheers
I think we've got a bug in the manager_actions.lua of the CoreRPG Ruleset (v3.0.7).
Original is:
function unregisterResultHandler(sRollType)
if aResultHandlers then
aResultHandlers[sActionType] = nil;
end
end
Shouldn't that read:
function unregisterResultHandler(sActionType)
if aResultHandlers then
aResultHandlers[sActionType] = nil;
end
end
Ie the function parameter is not the same as the array index in the original - or have I simply spent waaaayyyy too long looking at this stuff :)
Cheers