TotalTeamPlayerCount fix

Improper team count for lakrabbit which effects things like setnextmission votes
This commit is contained in:
ChocoTaco1 2025-12-15 12:43:12 -05:00
parent e99b013183
commit 47e1932279

View file

@ -42,7 +42,7 @@ function GetTeamCounts(%game)
if($countdownStarted && $MatchStarted)
{
//Variables
$TotalTeamPlayerCount = $TeamRank[1, count] + $TeamRank[2, count];
$TotalTeamPlayerCount = (Game.class $= "LakRabbitGame") ? $TeamRank[0, count] : ($TeamRank[1, count] + $TeamRank[2, count]);
$AllPlayerCount = $HostGamePlayerCount;
//Observers