diff --git a/lua/autorun/server/pointsaving_mapstats.lua b/lua/autorun/server/pointsaving_mapstats.lua index 66c2ae6..e4fbc14 100644 --- a/lua/autorun/server/pointsaving_mapstats.lua +++ b/lua/autorun/server/pointsaving_mapstats.lua @@ -64,6 +64,14 @@ local function postStatistics(mapParams, timesPlayed, freqMult, zombiePercentCal end -- TODO: When round is lost, take away points from human players that were there at the beginning of the game (All Human players that were there at the end of round 1, when late joiners join as zombies) +--[[ + Cases: + - When round is lost: + - Only players from the end of Wave 1 (online or disconnected) get the 85% reduction of points. But online players get some additional points + - When round is won: + - All humans get points + jackpot + - Zombies get a few points (but a reduction of 85% if they were there since the end of wave 1) +]]-- hook.Add("PostEndRound", "pointsave_givedapoints", function(winner) timer.Destroy("pointsave_zombieintervalcounter")