Fix server update restarts when server paused. (#8509)

This commit is contained in:
Pieter-Jan Briers
2022-05-30 10:09:50 +02:00
committed by GitHub
parent e649dcea14
commit 5f9f319d5a
10 changed files with 135 additions and 73 deletions

View File

@@ -961,5 +961,15 @@ namespace Content.Shared.CCVar
/// </summary>
public static readonly CVarDef<float> DragDropDeadZone =
CVarDef.Create("control.drag_dead_zone", 12f, CVar.CLIENTONLY | CVar.ARCHIVE);
/*
* UPDATE
*/
/// <summary>
/// If a server update restart is pending, the delay after the last player leaves before we actually restart. In seconds.
/// </summary>
public static readonly CVarDef<float> UpdateRestartDelay =
CVarDef.Create("update.restart_delay", 20f, CVar.SERVERONLY);
}
}