Fixed Server Threads

This commit is contained in:
Cooldude2606
2018-05-30 14:00:52 +01:00
parent 24598e594a
commit 48e65ce78f
3 changed files with 4 additions and 4 deletions

View File

@@ -380,7 +380,7 @@ Event.register(-2,function(event)
end)
Server.on_init=function(self)
Event.register(defines.event,Server._thread_handler)
Event.register(defines.events,Server._thread_handler)
if pcall(function() return commands._expgaming end) then
commands.add_command('interface', 'Runs the given input from the script', {'code',true}, function(event,args)
local callback = args.code