From 9c6ff6f35378c07dc45a1ba024b27a76449277b4 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Thu, 1 Jul 2021 13:06:31 -0500 Subject: [PATCH] use right game for estimated score --- Plugins/Stats/Helpers/StatManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Stats/Helpers/StatManager.cs b/Plugins/Stats/Helpers/StatManager.cs index f9d6d3812..1ae366c47 100644 --- a/Plugins/Stats/Helpers/StatManager.cs +++ b/Plugins/Stats/Helpers/StatManager.cs @@ -886,10 +886,10 @@ namespace IW4MAdmin.Plugins.Stats.Helpers victimStats.LastScore = 0; } - var estimatedAttackerScore = attacker.CurrentServer.GameName != Server.Game.SHG1 + var estimatedAttackerScore = attacker.CurrentServer.GameName != Server.Game.CSGO ? attacker.Score : attackerStats.SessionKills * 50; - var estimatedVictimScore = attacker.CurrentServer.GameName != Server.Game.SHG1 + var estimatedVictimScore = attacker.CurrentServer.GameName != Server.Game.CSGO ? victim.Score : victimStats.SessionKills * 50;