From e41cc9fa27a64d5293a97a5e95c3a09128bc33fa Mon Sep 17 00:00:00 2001 From: Infi-power <75531788+Infi-power@users.noreply.github.com> Date: Mon, 13 Nov 2023 12:33:27 +0000 Subject: [PATCH] Update touchscreen.lua Co-authored-by: OgelGames --- touchscreen.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/touchscreen.lua b/touchscreen.lua index 25a819d..2335339 100644 --- a/touchscreen.lua +++ b/touchscreen.lua @@ -97,10 +97,10 @@ local function process_command(meta, data, msg) table.remove(data, index) end - elseif cmd == "remove_without_resize" then + elseif cmd == "delete" then local index = tonumber(msg.index) if index and data[index] then - data[index] = "" + data[index] = nil end elseif cmd == "set" then