1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

[issue 137] custom display hostnames for webfront

This commit is contained in:
RaidMax
2020-05-23 13:15:22 -05:00
parent c7967c4a38
commit 14b6cd3ab8
4 changed files with 16 additions and 5 deletions

View File

@ -289,7 +289,8 @@ namespace SharedLibraryCore
public Game GameName { get; set; }
// Info
public string Hostname { get; protected set; }
private string hostname;
public string Hostname { get => ServerConfig.CustomHostname ?? hostname; protected set => hostname = value; }
public string Website { get; protected set; }
public string Gametype { get; set; }
public Map CurrentMap { get; set; }