mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
support for Plutonium IW5 and only show live radar tab if monitoring at least one IW4 serves
This commit is contained in:
@ -60,7 +60,10 @@ namespace LiveRadar
|
||||
await _configurationHandler.Save();
|
||||
}
|
||||
|
||||
manager.GetPageList().Pages.Add(Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_RADAR_TITLE"], "/Radar/All");
|
||||
if (manager.GetServers().Any(_server => _server.GameName == Server.Game.IW4))
|
||||
{
|
||||
manager.GetPageList().Pages.Add(Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_RADAR_TITLE"], "/Radar/All");
|
||||
}
|
||||
}
|
||||
|
||||
public Task OnTickAsync(Server S)
|
||||
|
Reference in New Issue
Block a user