From 4589127445e790a4dd8db181a86a356e175621ad Mon Sep 17 00:00:00 2001 From: hbeham Date: Tue, 12 Jan 2016 21:21:24 +0100 Subject: [PATCH] - fixed error in player list context menu when there is no qlstats.net data available - fixed DX version for loading bonus skins --- ServerBrowser/Games/QuakeLive.cs | 2 +- ServerBrowser/ServerBrowserForm.cs | 4 ++-- changelog.md | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ServerBrowser/Games/QuakeLive.cs b/ServerBrowser/Games/QuakeLive.cs index 9b53bf3..003eeb9 100644 --- a/ServerBrowser/Games/QuakeLive.cs +++ b/ServerBrowser/Games/QuakeLive.cs @@ -542,7 +542,7 @@ private string GetCleanPlayerName(string name, bool removeNonZmqChars = false) public override void CustomizePlayerContextMenu(ServerRow server, Player player, List menu) { QlstatsPlayerList list; - if (!this.qlstatsPlayerlists.TryGetValue(server, out list)) + if (!this.qlstatsPlayerlists.TryGetValue(server, out list) || list.players == null) return; var cleanName = this.GetCleanPlayerName(player); var info = list.players.FirstOrDefault(p => this.GetCleanPlayerName(p.name) == cleanName); diff --git a/ServerBrowser/ServerBrowserForm.cs b/ServerBrowser/ServerBrowserForm.cs index 5a0a877..b69bde9 100644 --- a/ServerBrowser/ServerBrowserForm.cs +++ b/ServerBrowser/ServerBrowserForm.cs @@ -30,8 +30,8 @@ namespace ServerBrowser { public partial class ServerBrowserForm : XtraForm { - private const string Version = "2.25.1"; - private const string DevExpressVersion = "v15.1"; + private const string Version = "2.25.2"; + private const string DevExpressVersion = "v15.2"; private const string CustomDetailColumnPrefix = "ServerInfo."; private const string CustomRuleColumnPrefix = "custRule."; private static readonly Game[] DefaultGames = {Game.QuakeLive, Game.Reflex, Game.Toxikk, Game.CounterStrike_Global_Offensive, Game.Team_Fortress_2}; diff --git a/changelog.md b/changelog.md index c2c7553..ce6993d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +2.25.2 +--- +- fixed error in player list context menu when there is no qlstats.net data available for the server + 2.25.1 --- - fixed error message popup at startup