gui/OldStuff/GuiManager/Core/patches.int
2022-01-16 22:40:22 -05:00

7 lines
176 B
Plaintext

_GuiPro.mousedownfunc=love.mouse.isDown
function love.mouse.isDown(b)
if not(b) then
return false
end
return _GuiPro.mousedownfunc(({["l"]=1,["r"]=2,["m"]=3})[b] or b)
end