PUG password always on option

This commit is contained in:
ChocoTaco 2019-12-03 02:35:28 -05:00
parent 4d98f57a57
commit 5040f584a2
2 changed files with 6 additions and 1 deletions

View file

@ -1441,6 +1441,7 @@ $Host::PlayerRespawnTimeout = 60;
$Host::Port = 28000;
$Host::PUGautoPassword = 0;
$Host::PUGPassword = "pickup";
$Host::PUGpasswordAlwaysOn = 0;
$Host::PureServer = 0;
$Host::SCtFProMode = 0;
$Host::ShowEndingPlayerScores = 1;

View file

@ -9,7 +9,8 @@
// $Host::PUGautoPassword = 1;
// The PUG password you want
// $Host::PUGPassword = "pickup";
//
// PUG Password is always on no matter what
// $Host::$PUGpasswordAlwaysOn = 1;
package MissionTypeOptions
{
@ -35,6 +36,9 @@ function loadMissionStage2()
$Host::HiVisibility = "1";
}
if( $Host::PUGpasswordAlwaysOn )
$Host::Password = $Host::PUGPassword;
//Start MapRepetitionChecker
schedule(20000, 0, "MapRepetitionChecker", %game);