aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/database/sv_queries.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/core/database/sv_queries.lua')
-rw-r--r--gamemode/core/database/sv_queries.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/gamemode/core/database/sv_queries.lua b/gamemode/core/database/sv_queries.lua
index 3c5f309..4d659b2 100644
--- a/gamemode/core/database/sv_queries.lua
+++ b/gamemode/core/database/sv_queries.lua
@@ -41,18 +41,12 @@ function q.deserialize_player(ply,str)
log.error("Failed to deserialize player " .. ply:Nick() .. "\n" .. str)
end
local invs = tbl.inventories
- print("Inventories was", invs)
- PrintTable(invs)
for k,v in pairs(invs) do
- print("Giveing inventory",v[1],v[2])
track.GiveInventoryWithData(ply,v[1],v[2])
- print("Gave inventory ", v[1])
end
ply.data.skills = tbl.skills or {}
ply.data.quests = tbl.quests or {}
ply.data.credits = tbl.credits or 100
- print("After deserializeing player, their .data is",ply.data)
- PrintTable(ply.data)
track.SendPlayerData(ply)
end