mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-13 15:14:34 +00:00
Change RandomSeed
Every map change
This commit is contained in:
parent
ba450a4b3e
commit
b57f33d461
2 changed files with 4 additions and 1 deletions
|
|
@ -73,6 +73,9 @@ function loadMissionStage2()
|
||||||
//Map Change Center Print. Used to advertise upcoming events
|
//Map Change Center Print. Used to advertise upcoming events
|
||||||
if($Host::MapChangeMSG)
|
if($Host::MapChangeMSG)
|
||||||
centerPrintAll($Host::MapChangeMSGContent, 12, 3);
|
centerPrintAll($Host::MapChangeMSGContent, 12, 3);
|
||||||
|
|
||||||
|
//Set random seed
|
||||||
|
setRandomSeed(getrandom(1,200000));
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ function CreateServer( %mission, %missionType )
|
||||||
//Call for a GetTeamCount update
|
//Call for a GetTeamCount update
|
||||||
GetTeamCounts(%game);
|
GetTeamCounts(%game);
|
||||||
|
|
||||||
// Prevent package from being activated if it is already
|
//Prevent package from being activated if it is already
|
||||||
if (!isActivePackage(TeamCountsTriggers))
|
if (!isActivePackage(TeamCountsTriggers))
|
||||||
activatePackage(TeamCountsTriggers);
|
activatePackage(TeamCountsTriggers);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue