From 3c4f763ae7a8babb3fa1ee91be6374f8558a743f Mon Sep 17 00:00:00 2001 From: lustlion Date: Sat, 5 Mar 2022 06:12:11 +0100 Subject: [PATCH] fix typo --- code/editor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/editor.lua b/code/editor.lua index 8b3fa58..af15977 100644 --- a/code/editor.lua +++ b/code/editor.lua @@ -136,7 +136,7 @@ function doEditorEdit() elseif Keybind:CheckPressed(Keybind.generic.lclick) then if editor.room_mode == "delete" then for i, room in ipairs(LoadedObjects.Rooms) do - if room:ContainsPoint(rx, ry) then + if room:containsPoint(rx, ry) then table.remove(LoadedObjects.Rooms, i) end end