PDA

View Full Version : onClickRelease in 3.5 ruleset (not jpg)



rule of three
April 30th, 2010, 13:40
I've post it in the house of healing but it may help those few who use 3.5 ruleset and not the jpg !



I've found a bug on your 3.5 ruleset : there was a error (which block mouse scrolling and send an error to the console) when the GM try to click on the active button of a npc or pc.

The bug is connected to combattrackeractive.lua

Change :
function onClickRelease(button, x, y)
if not state then
window.windowlist.requestActivation(window);
end
end

function onClickRelease(button, x, y)
if not state then
window.getTracker().requestActivation(window);
end
end