summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-04-17 22:10:40 +0100
committerrubenwardy <rw@rubenwardy.com>2018-04-17 22:10:40 +0100
commit08f654cf949a395c1745b779687469870f3d40ab (patch)
tree7499ab721e6b6f4a6f84ca46e9ac24cefd5aee02
parent3fc12eb68947f48cee5f3b47f4212e1f7d1d1efc (diff)
Remove debug prints
Fixes #57
-rw-r--r--api.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/api.lua b/api.lua
index 9a2ec0c..17d9e09 100644
--- a/api.lua
+++ b/api.lua
@@ -67,8 +67,6 @@ local function convert_data()
awards.players[name] = data
end
-
- print(dump(awards.players))
end
function awards.load()
@@ -162,7 +160,6 @@ function awards.register_trigger(tname, tdef)
assert(player and player.is_player and player:is_player())
local name = player:get_player_name()
local data = awards.player(name)
- print(dump(data))
-- Increment counter
local currentVal = (data[tname] or 0) + 1
@@ -225,7 +222,6 @@ function awards.register_trigger(tname, tdef)
assert(player and player.is_player and player:is_player() and key)
local name = player:get_player_name()
local data = awards.player(name)
- print(dump(data))
-- Increment counter
data[tname] = data[tname] or {}