diff --git a/lua/autorun/server/sv_pointsaving.lua b/lua/autorun/server/sv_pointsaving.lua index 939bcdf..636bf79 100644 --- a/lua/autorun/server/sv_pointsaving.lua +++ b/lua/autorun/server/sv_pointsaving.lua @@ -34,6 +34,8 @@ hook.Add("PostEndRound", "pointsave_postendround", function(winner) end end) +-- TODO: Save points every minute or so + local function loadPoints(ply) if shouldIgnoreMap(game.GetMap()) then return end @@ -46,7 +48,6 @@ local function loadPoints(ply) end hook.Add("PlayerSpawn", "pointsave_spawn", loadPoints) -hook.Add("PlayerReadyRound", "pointsave_readyround", loadPoints) -- Fix for ZS:R. Problem: It can be called from client! -- #### Player meta #### TODO: Put in an extra file