Fixed Syntax Error

This commit is contained in:
Cooldude2606
2018-05-20 17:26:29 +01:00
parent 5226c4cf66
commit 0a4f5a2ffa

View File

@@ -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)