From 0a4f5a2ffafa5d43cecf9b74ebfdef7abe2bdc1c Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sun, 20 May 2018 17:26:29 +0100 Subject: [PATCH] Fixed Syntax Error --- Addons/Admin/auto-chat.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Addons/Admin/auto-chat.lua b/Addons/Admin/auto-chat.lua index 6326b2af..6701944b 100644 --- a/Addons/Admin/auto-chat.lua +++ b/Addons/Admin/auto-chat.lua @@ -79,8 +79,7 @@ local commands = { timeout=math.floor(180*(math.random()+0.5)),data=player.name }:on_event('timeout',function(self) if self.data then game.print{'chat-bot.message',{'chat-bot.make-coffee-2',self.data}} end - end):open() return {'chat-bot.make-coffee-1'} end - }, + end):open() return {'chat-bot.make-coffee-1'} end, ['orderpizza']=function(player) Server.new_thread{ timeout=math.floor(180*(math.random()+0.5)),data={player.name,0}, reopen=true }:on_event('timeout',function(self)