1
0
mirror of https://gitlab.com/rubenwardy/awards.git synced 2024-12-27 11:10:41 +01:00

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
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 {}