Skip to content

Commit

Permalink
Update touchscreen.lua
Browse files Browse the repository at this point in the history
Co-authored-by: OgelGames <[email protected]>
  • Loading branch information
Infi-power and OgelGames authored Nov 13, 2023
1 parent f667c28 commit e41cc9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions touchscreen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e41cc9f

Please sign in to comment.