This commit is contained in:
lustlion 2022-03-10 19:38:02 +01:00
parent 6dd970c1d4
commit e575cb5725

View File

@ -224,12 +224,14 @@ function doEditorEdit()
if Keybind:checkDown(Keybind.generic.rclick) then if Keybind:checkDown(Keybind.generic.rclick) then
moveSpawns(mouse_x,mouse_y) moveSpawns(mouse_x,mouse_y)
end end
if Prompt.active_prompt == nil then
if Keybind:checkDown({keys={"t"}}) then if Keybind:checkDown({keys={"t"}}) then
promptSpawnArchetype() promptSpawnArchetype()
elseif Keybind:checkDown({keys={"d"}}) then elseif Keybind:checkDown({keys={"d"}}) then
promptSpawnArgs() promptSpawnArgs()
end end
end end
end
elseif Keybind:checkPressed(Keybind.generic.lshift) then elseif Keybind:checkPressed(Keybind.generic.lshift) then
expandLevelCanvas(math.sign(expand_h),math.sign(expand_v)) expandLevelCanvas(math.sign(expand_h),math.sign(expand_v))
reloadLevelTiles() reloadLevelTiles()