Skip to content

Commit

Permalink
- fixed error in player list context menu when there is no qlstats.ne…
Browse files Browse the repository at this point in the history
…t data available

- fixed DX version for loading bonus skins
  • Loading branch information
PredatH0r committed Jan 12, 2016
1 parent 17cb6d5 commit 4589127
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ServerBrowser/Games/QuakeLive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ private string GetCleanPlayerName(string name, bool removeNonZmqChars = false)
public override void CustomizePlayerContextMenu(ServerRow server, Player player, List<PlayerContextMenuItem> 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);
Expand Down
4 changes: 2 additions & 2 deletions ServerBrowser/ServerBrowserForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4589127

Please sign in to comment.