add Prompt
This commit is contained in:
@@ -77,6 +77,16 @@ function Keybind:RemoveKeys(action)
|
||||
action.keys = {}
|
||||
end
|
||||
|
||||
function Keybind:hasKey(action, key)
|
||||
for _, v in pairs(action.keys) do
|
||||
if v == key then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
function Keybind:Default()
|
||||
--Menu
|
||||
Keybind.menu.pause.keys = {"escape"}
|
||||
|
||||
Reference in New Issue
Block a user