Merge pull request #831 from brycemthompson/patch-3

Fix ZS Stats Bug
This commit is contained in:
UnknownShadow200 2025-06-02 18:43:05 +10:00 committed by GitHub
commit 35f59dce99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,9 +36,9 @@ namespace MCGalaxy.Modules.Games.ZS
static void HookStats() {
statMostInfected = new DBTopStat("Infected", "Most players infected",
"ZombieStats", "TotalInfected", TopStat.FormatInteger);
statMaxInfected = new DBTopStat("Survived", "Most rounds survived",
statMostSurvived = new DBTopStat("Survived", "Most rounds survived",
"ZombieStats", "TotalRounds", TopStat.FormatInteger);
statMostSurvived = new DBTopStat("ConsecutiveInfected", "Most consecutive infections",
statMaxInfected = new DBTopStat("ConsecutiveInfected", "Most consecutive infections",
"ZombieStats", "MaxInfected", TopStat.FormatInteger);
statMaxSurvived = new DBTopStat("ConsecutiveSurvived", "Most consecutive rounds survived",
"ZombieStats", "MaxRounds", TopStat.FormatInteger);