mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-13 15:14:34 +00:00
Lak/CTF transition
Uneven teams fix
This commit is contained in:
parent
911eb7e904
commit
21a57df410
1 changed files with 5 additions and 0 deletions
|
|
@ -49,10 +49,15 @@ function loadMissionStage2()
|
||||||
//Start MapRepetitionChecker
|
//Start MapRepetitionChecker
|
||||||
$MapRepetitionSchedule = schedule(20000, 0, "MapRepetitionChecker", %game);
|
$MapRepetitionSchedule = schedule(20000, 0, "MapRepetitionChecker", %game);
|
||||||
|
|
||||||
|
//Siege NoBaseRape Fix
|
||||||
if( $CurrentMissionType $= "Siege" )
|
if( $CurrentMissionType $= "Siege" )
|
||||||
$Host::EvoNoBaseRapeEnabled = 0;
|
$Host::EvoNoBaseRapeEnabled = 0;
|
||||||
else
|
else
|
||||||
$Host::EvoNoBaseRapeEnabled = 1;
|
$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();
|
parent::loadMissionStage2();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue