diff --git a/code/editor.lua b/code/editor.lua index 3bd3ddf..40ee603 100644 --- a/code/editor.lua +++ b/code/editor.lua @@ -224,10 +224,12 @@ function doEditorEdit() if Keybind:checkDown(Keybind.generic.rclick) then moveSpawns(mouse_x,mouse_y) end - if Keybind:checkDown({keys={"t"}}) then - promptSpawnArchetype() - elseif Keybind:checkDown({keys={"d"}}) then - promptSpawnArgs() + if Prompt.active_prompt == nil then + if Keybind:checkDown({keys={"t"}}) then + promptSpawnArchetype() + elseif Keybind:checkDown({keys={"d"}}) then + promptSpawnArgs() + end end end elseif Keybind:checkPressed(Keybind.generic.lshift) then