Made HasPressed more memory efficient
This commit is contained in:
parent
03793e1fb8
commit
2972cf1488
|
@ -21,7 +21,7 @@ function Keybind:HasPressed(action)
|
|||
return true
|
||||
end
|
||||
else
|
||||
action.pressed = false
|
||||
action.pressed = nil
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue