mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Lak/CTF transition
Uneven teams fix
This commit is contained in:
parent
911eb7e904
commit
21a57df410
|
|
@ -49,10 +49,15 @@ 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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue