mirror of
https://github.com/Kiritow/OpenComputerScripts.git
synced 2024-03-22 13:10:46 +08:00
fix user-defined event translator in libevent
This commit is contained in:
parent
ed5ff49378
commit
4b2d10c2b8
|
@ -308,7 +308,7 @@ local function TranslateEvent(e)
|
|||
internal_evtbex[name](e,t)
|
||||
-- Unknown Events. Args is packed into t.data (instead of returning the list)
|
||||
else
|
||||
t["data"]=table.pack(e,2)
|
||||
t["data"]=table.pack(table.unpack(e, 2))
|
||||
end
|
||||
|
||||
setmetatable(t,{__index=function(xt,xk)
|
||||
|
|
Loading…
Reference in New Issue
Block a user