fix(keybinds): typo

This commit is contained in:
Linden
2022-10-14 11:46:06 +11:00
parent 7355d9ef25
commit 01b4c53a9d

View File

@@ -24,7 +24,7 @@ lib.keybinds = {
data.disable = disableKeybind
RegisterCommand('+' .. data.name, function()
if not data.onReleased or data.disabled or IsPauseMenuActive() then return end
if not data.onPressed or data.disabled or IsPauseMenuActive() then return end
data:onPressed()
end)