bug fix?
This commit is contained in:
parent
40034d2f00
commit
7ee8baf438
4 changed files with 19 additions and 9 deletions
|
@ -11,7 +11,6 @@ function Button:new(x, y, r, b, c)
|
|||
end
|
||||
|
||||
function Button:update(dt)
|
||||
|
||||
if self.b == "triggerleft" or self.b == "triggerright" then
|
||||
if fightstick:getGamepadAxis(self.b) == 1 then
|
||||
self.press = true
|
||||
|
@ -38,4 +37,4 @@ function Button:draw()
|
|||
love.graphics.circle(mode, self.x + self.r, self.y + self.r, self.r)
|
||||
end
|
||||
|
||||
return Button
|
||||
return Button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue