Твики (#491)

* Economy additions

* Tweak implant cooldowns

* Cult stuff

* Random appearance aspect nuke ops fix

* Auto shuttle enable on round end

* Holy water threshold
This commit is contained in:
Aviu00
2023-10-17 00:52:02 +09:00
committed by Aviu00
parent 007cf13a71
commit 0962aa2978
12 changed files with 68 additions and 22 deletions

View File

@@ -459,6 +459,7 @@ namespace Content.Server.GameTicking
ResettingCleanup();
IncrementRoundNumber();
SendRoundStartingDiscordMessage();
EnableShuttleCall(); // WD
if (!LobbyEnabled)
{
@@ -572,6 +573,15 @@ namespace Content.Server.GameTicking
_utkaSocketWrapper.SendMessageToAll(utkaRoundStatusEvent);
}
private void EnableShuttleCall()
{
if (_configurationManager.GetCVar(WhiteCVars.EmergencyShuttleCallEnabled))
return;
_configurationManager.SetCVar(WhiteCVars.EmergencyShuttleCallEnabled, true);
_chatManager.SendAdminAnnouncement("Вызов шаттла включен.");
}
//WD-EDIT
private void UpdateRoundFlow(float frameTime)