Remove debug prints

Fixes #57
This commit is contained in:
rubenwardy 2018-04-17 22:10:40 +01:00
parent 3fc12eb689
commit 08f654cf94

View File

@ -67,8 +67,6 @@ local function convert_data()
awards.players[name] = data awards.players[name] = data
end end
print(dump(awards.players))
end end
function awards.load() function awards.load()
@ -162,7 +160,6 @@ function awards.register_trigger(tname, tdef)
assert(player and player.is_player and player:is_player()) assert(player and player.is_player and player:is_player())
local name = player:get_player_name() local name = player:get_player_name()
local data = awards.player(name) local data = awards.player(name)
print(dump(data))
-- Increment counter -- Increment counter
local currentVal = (data[tname] or 0) + 1 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) assert(player and player.is_player and player:is_player() and key)
local name = player:get_player_name() local name = player:get_player_name()
local data = awards.player(name) local data = awards.player(name)
print(dump(data))
-- Increment counter -- Increment counter
data[tname] = data[tname] or {} data[tname] = data[tname] or {}