Fix ServerId CVar not getting replicated to the server (#5793)

* Fix ServerId CVar not getting replicated to the server

* Fix state check
This commit is contained in:
ShadowCommander
2021-12-15 22:54:04 -08:00
committed by GitHub
parent 09e0f79b89
commit 2e141347ed
2 changed files with 12 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ namespace Content.Shared.CCVar
/// Change this to have the changelog and rules "last seen" date stored separately.
/// </summary>
public static readonly CVarDef<string> ServerId =
CVarDef.Create("server.id", "unknown_server_id");
CVarDef.Create("server.id", "unknown_server_id", CVar.REPLICATED | CVar.SERVER);
/*
* Ambience