adjusted hook to be toggle; renamed HasPressed to CheckPressed (keybind)
This commit is contained in:
@@ -16,7 +16,7 @@ function Keybind:CheckDown(action)
|
||||
return false
|
||||
end
|
||||
|
||||
function Keybind:HasPressed(action)
|
||||
function Keybind:CheckPressed(action)
|
||||
if Keybind:CheckDown(action) then
|
||||
if not action.pressed then
|
||||
action.pressed = true
|
||||
|
||||
Reference in New Issue
Block a user