update to show full gametype name on webfront

This commit is contained in:
RaidMax
2021-11-28 10:17:56 -06:00
parent 15cb114c15
commit 5d7ac7498f
5 changed files with 17 additions and 9 deletions

View File

@ -62,7 +62,7 @@ namespace WebfrontCore.ViewComponents
Map = server.CurrentMap.Alias,
ClientCount = server.Clients.Count(client => client != null),
MaxClients = server.MaxClients,
GameType = server.Gametype,
GameType = server.GametypeName,
PlayerHistory = server.ClientHistory.ToArray(),
Players = server.GetClientsAsList()
.Select(p => new PlayerInfo()
@ -92,4 +92,4 @@ namespace WebfrontCore.ViewComponents
return View("_List", serverInfo);
}
}
}
}