Make the MapFile a CVar (#2561)

This commit is contained in:
DrSmugleaf
2020-11-15 04:08:58 +01:00
committed by GitHub
parent 43eb7a94f4
commit 2ded2163fe
2 changed files with 9 additions and 2 deletions

View File

@@ -46,6 +46,9 @@ namespace Content.Shared
public static readonly CVarDef<int>
GameMaxCharacterSlots = CVarDef.Create("game.maxcharacterslots", 10, CVar.ARCHIVE | CVar.SERVERONLY);
public static readonly CVarDef<string>
GameMap = CVarDef.Create("game.map", "Maps/saltern.yml", CVar.SERVERONLY);
/// <summary>
/// When enabled, guests will be assigned permanent UIDs and will have their preferences stored.
/// </summary>