mirror of
https://cheapiesystems.com/git/digistuff
synced 2024-11-28 18:13:45 +01:00
Fix crash on certain invalid touchscreen inputs
This commit is contained in:
parent
c92659a11a
commit
f0ce665a64
@ -253,7 +253,7 @@ digistuff.ts_on_digiline_receive = function (pos, node, channel, msg)
|
|||||||
data = digistuff.process_command(meta,data,msg)
|
data = digistuff.process_command(meta,data,msg)
|
||||||
else
|
else
|
||||||
for _,i in ipairs(msg) do
|
for _,i in ipairs(msg) do
|
||||||
if i.command then
|
if type(i) == "table" and i.command then
|
||||||
data = digistuff.process_command(meta,data,i) or data
|
data = digistuff.process_command(meta,data,i) or data
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user