Revert "Refactor Game Modes" oh god oh fuck go back it was too good to be true (#5855)
This commit is contained in:
@@ -37,15 +37,15 @@ namespace Content.Server.GameTicking
|
||||
|
||||
private string GetInfoText()
|
||||
{
|
||||
if (_preset == null)
|
||||
if (Preset == null)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
var map = _gameMapManager.GetSelectedMap();
|
||||
var mapName = map?.MapName ?? Loc.GetString("game-ticker-no-map-selected");
|
||||
var gmTitle = Loc.GetString(_preset.ModeTitle);
|
||||
var desc = Loc.GetString(_preset.Description);
|
||||
var gmTitle = Preset.ModeTitle;
|
||||
var desc = Preset.Description;
|
||||
return Loc.GetString("game-ticker-get-info-text",("mapName", mapName),("gmTitle", gmTitle),("desc", desc));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user