From 8bd3658d9ee363c55225c63f867a8ebf70c44b6e Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 2 May 2014 19:11:21 +0100 Subject: first word award and bug fixes --- api.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'api.lua') diff --git a/api.lua b/api.lua index b0bf068..71ddd2f 100644 --- a/api.lua +++ b/api.lua @@ -64,6 +64,7 @@ function awards.assertPlayer(playern) awards.tbv(awards.players[playern], "place") awards.tbv(awards.players[playern], "count") awards.tbv(awards.players[playern], "deaths", 0) + awards.tbv(awards.players[playern], "chats", 0) end -- Load files @@ -148,7 +149,7 @@ end -- award - the name of the award to give function awards.give_achievement(name,award) -- Access Player Data - local data=awards.players[name] + local data = awards.players[name] -- Perform checks if not data then -- cgit v1.2.3