No Button Right Click

This commit is contained in:
João Lopes 2021-10-20 20:25:09 +01:00
parent 773321041c
commit bb5a21b39b

View File

@ -111,8 +111,10 @@ function newobject:mousepressed(x, y, button)
if baseparent and baseparent.type == "frame" then
baseparent:MakeTop()
end
self.down = true
loveframes.downobject = self
if button == 1 then
self.down = true
loveframes.downobject = self
end
end
self.pressed_button = button