Undo workaround, it got fixed in gamemode
This commit is contained in:
parent
a0222400d1
commit
bf2f1bc502
@ -34,6 +34,8 @@ hook.Add("PostEndRound", "pointsave_postendround", function(winner)
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- TODO: Save points every minute or so
|
||||||
|
|
||||||
local function loadPoints(ply)
|
local function loadPoints(ply)
|
||||||
if shouldIgnoreMap(game.GetMap()) then return end
|
if shouldIgnoreMap(game.GetMap()) then return end
|
||||||
|
|
||||||
@ -46,7 +48,6 @@ local function loadPoints(ply)
|
|||||||
|
|
||||||
end
|
end
|
||||||
hook.Add("PlayerSpawn", "pointsave_spawn", loadPoints)
|
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
|
-- #### Player meta #### TODO: Put in an extra file
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user