Skip to content

Commit

Permalink
kill me
Browse files Browse the repository at this point in the history
  • Loading branch information
bkacjios committed Nov 10, 2024
1 parent f7982d9 commit 403d624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/overlay/skins/S-Stick.lua
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ local function drawButtons(buttons, controller)
local pos = texture.POSITION
graphics.setColor(texture.COLOR)
local analogr = (SETTINGS:IsSlippiReplay() and melee.isInGame() and controller.analog) and controller.analog.float or controller.analog
local tl, tr = memory.game.translateTriggers(0, analogr)
local tl, tr = memory.game.translateTriggers(0, analogr and analogr.r or 0)

if texture.PRESSED and bit.band(controller.buttons.pressed, flag) == flag then -- Check if the button is pressed
graphics.easyDraw(texture.PRESSED, pos.x, pos.y, 0, 88, 88)
Expand Down

0 comments on commit 403d624

Please sign in to comment.