diff --git a/addons/sourcemod/plugins/optional/current.smx b/addons/sourcemod/plugins/optional/current.smx index 684fededb..71b7a46e3 100644 Binary files a/addons/sourcemod/plugins/optional/current.smx and b/addons/sourcemod/plugins/optional/current.smx differ diff --git a/addons/sourcemod/scripting/current.sp b/addons/sourcemod/scripting/current.sp index 10582c2d2..291d111eb 100644 --- a/addons/sourcemod/scripting/current.sp +++ b/addons/sourcemod/scripting/current.sp @@ -13,7 +13,7 @@ public Plugin myinfo = name = "L4D2 Survivor Progress", author = "CanadaRox, Visor", description = "Print survivor progress in flow percents ", - version = "2.0.2", + version = "2.0.3", url = "https://github.com/SirPlease/L4D2-Competitive-Rework" }; @@ -44,7 +44,7 @@ float GetMaxSurvivorCompletion() float flow = 0.0, tmp_flow = 0.0, origin[3]; Address pNavArea; for (int i = 1; i <= MaxClients; i++) { - if (IsClientInGame(i) && GetClientTeam(i) == TEAM_SURVIVORS) { + if (IsClientInGame(i) && GetClientTeam(i) == TEAM_SURVIVORS && IsPlayerAlive(i)) { GetClientAbsOrigin(i, origin); pNavArea = L4D2Direct_GetTerrorNavArea(origin); if (pNavArea != Address_Null) {