Compare commits

...

3 commits

Author SHA1 Message Date
ChocoTaco1 60a84fdb35 Merge branch 'Dev' into Stable 2026-01-05 15:57:12 -05:00
ChocoTaco1 74ed8c8cde Added LCTF 2026-01-05 15:57:01 -05:00
ChocoTaco1 47e1932279 TotalTeamPlayerCount fix
Improper team count for lakrabbit which effects things like setnextmission votes
2025-12-15 12:43:12 -05:00
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -445,7 +445,7 @@ function ShapeBase::throwObject(%this,%obj)
{ {
%obj.static = false; %obj.static = false;
// z0dd - ZOD - SquirrelOfDeath, 10/02/02. Hack for flag collision bug. // z0dd - ZOD - SquirrelOfDeath, 10/02/02. Hack for flag collision bug.
if(Game.Class $= CTFGame || Game.Class $= PracticeCTFGame || Game.Class $= SCtFGame) if(Game.Class $= CTFGame || Game.Class $= PracticeCTFGame || Game.Class $= SCtFGame || Game.Class $= LCTFGame)
%obj.searchSchedule = Game.schedule(10, "startFlagCollisionSearch", %obj); %obj.searchSchedule = Game.schedule(10, "startFlagCollisionSearch", %obj);
} }
//------------------------------------------------------------------ //------------------------------------------------------------------