added function to cancel active prompt added function to add new spawns from editor added keybind for that

This commit is contained in:
lustlion
2022-03-11 18:39:27 +01:00
parent 3d41699d8f
commit 61b8aa883b
4 changed files with 117 additions and 50 deletions

View File

@@ -24,6 +24,11 @@ Prompt = {
background_color = {0,0,0,1},
active_prompt = nil,
}
function Prompt:cancelActive()
if Prompt.active_prompt then
Prompt.active_prompt.canceled = true
end
end
function Prompt:new(o)
o = o or {}