mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Edit to callback returns
This commit is contained in:
@@ -127,7 +127,7 @@ Event.register(defines.events.on_tick, function(event)
|
|||||||
else args[n] = value end
|
else args[n] = value end
|
||||||
end
|
end
|
||||||
-- makes new temp value and runs command
|
-- makes new temp value and runs command
|
||||||
local returns = {callback.fun(unpack(args))} or {}
|
local returns = callback.fun(unpack(args)) or {}
|
||||||
server.refresh_uuid(callback.uuid,returns)
|
server.refresh_uuid(callback.uuid,returns)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user