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