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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user