added function to cancel active prompt added function to add new spawns from editor added keybind for that
This commit is contained in:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user