mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
grab gametype from status for T7
This commit is contained in:
@ -703,6 +703,7 @@ namespace IW4MAdmin
|
||||
var updatedClients = polledClients.Except(connectingClients).Except(disconnectingClients);
|
||||
|
||||
UpdateMap(statusResponse.Item2);
|
||||
UpdateGametype(statusResponse.Item3);
|
||||
|
||||
return new List<EFClient>[]
|
||||
{
|
||||
@ -724,6 +725,14 @@ namespace IW4MAdmin
|
||||
}
|
||||
}
|
||||
|
||||
private void UpdateGametype(string gameType)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(gameType))
|
||||
{
|
||||
Gametype = gameType;
|
||||
}
|
||||
}
|
||||
|
||||
private async Task ShutdownInternal()
|
||||
{
|
||||
foreach (var client in GetClientsAsList())
|
||||
|
Reference in New Issue
Block a user