From 46f07104700e05d18327e3c0357489bc5321aacb Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Mon, 16 Oct 2017 20:28:49 +0100 Subject: [PATCH] Emit fix --- 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 23aacfbe..9d2e15c7 100644 --- a/locale/ExpGaming-Core/ExpGaming - Server Interface.lua +++ b/locale/ExpGaming-Core/ExpGaming - Server Interface.lua @@ -47,7 +47,7 @@ function server.emit(code, callback) end --adds a call back that can be ran with a command function server.add_callback(callback,uuid) - if type(command) == 'function' then + if type(callback) == 'function' then local args = args or {} local uuid = uuid or server.get_uuid(callback) debug_write({'callback','ADD'},uuid)