From bcc252d1b79e5135b6aaaf22a2098867899328c2 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sun, 22 Oct 2017 00:44:33 +0100 Subject: [PATCH] Edit to callback returns --- locale/ExpGaming-Core/ExpGaming - Server Interface.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/ExpGaming-Core/ExpGaming - Server Interface.lua b/locale/ExpGaming-Core/ExpGaming - Server Interface.lua index d43e3fe9..2c4b9da5 100644 --- a/locale/ExpGaming-Core/ExpGaming - Server Interface.lua +++ b/locale/ExpGaming-Core/ExpGaming - Server Interface.lua @@ -127,7 +127,7 @@ Event.register(defines.events.on_tick, function(event) else args[n] = value end end -- 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) end end