Change RandomSeed

Every map change
This commit is contained in:
ChocoTaco1 2022-06-22 06:53:52 -04:00
parent ba450a4b3e
commit b57f33d461
2 changed files with 4 additions and 1 deletions

View file

@ -73,6 +73,9 @@ function loadMissionStage2()
//Map Change Center Print. Used to advertise upcoming events
if($Host::MapChangeMSG)
centerPrintAll($Host::MapChangeMSGContent, 12, 3);
//Set random seed
setRandomSeed(getrandom(1,200000));
}
};

View file

@ -24,7 +24,7 @@ function CreateServer( %mission, %missionType )
//Call for a GetTeamCount update
GetTeamCounts(%game);
// Prevent package from being activated if it is already
//Prevent package from being activated if it is already
if (!isActivePackage(TeamCountsTriggers))
activatePackage(TeamCountsTriggers);
}