From e575cb57252aae663f2f6faf21ea17c3262ec664 Mon Sep 17 00:00:00 2001 From: lustlion Date: Thu, 10 Mar 2022 19:38:02 +0100 Subject: [PATCH] hotfix --- code/editor.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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