Lak/CTF transition

Uneven teams fix
This commit is contained in:
ChocoTaco 2020-03-17 18:26:51 -04:00
parent 911eb7e904
commit 21a57df410

View file

@ -49,11 +49,16 @@ function loadMissionStage2()
//Start MapRepetitionChecker
$MapRepetitionSchedule = schedule(20000, 0, "MapRepetitionChecker", %game);
//Siege NoBaseRape Fix
if( $CurrentMissionType $= "Siege" )
$Host::EvoNoBaseRapeEnabled = 0;
else
$Host::EvoNoBaseRapeEnabled = 1;
//Fix for Lak to CTF transition (Uneven Teams)
if(Game.numTeams > 1 && ($TeamRank[1, count] > $TeamRank[2, count] + 2) && $previousMissionType $= "LakRabbit")
Game.setupClientTeams();
parent::loadMissionStage2();
}