mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-13 00:28:10 -05:00
Additional updates to support performance bucket
This commit is contained in:
@ -219,9 +219,11 @@ namespace SharedLibraryCore
|
||||
/// </summary>
|
||||
/// <param name="server"></param>
|
||||
/// <returns></returns>
|
||||
public static bool IsZombieServer(this Server server)
|
||||
public static bool IsZombieServer(this Server server) => (server as IGameServer).IsZombieServer();
|
||||
|
||||
public static bool IsZombieServer(this IGameServer server)
|
||||
{
|
||||
return new[] { Game.T4, Game.T5, Game.T6 }.Contains(server.GameName) &&
|
||||
return new[] { Reference.Game.T4, Reference.Game.T5, Reference.Game.T6 }.Contains(server.GameCode) &&
|
||||
ZmGameTypes.Contains(server.Gametype.ToLower());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user