Skip to content

Commit

Permalink
Server version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BitBaboonSteve committed Apr 28, 2020
1 parent a0960fb commit 75b1249
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
9 changes: 1 addition & 8 deletions EVEData/ZKillRedisQ.cs
Expand Up @@ -20,17 +20,10 @@ namespace SMT.EVEData
/// </summary>
public class ZKillRedisQ
{
private Thread updateThread;
private bool updateThreadRunning = true;
private BackgroundWorker backgroundWorker;


~ZKillRedisQ()
{
updateThreadRunning = false;
}

/// <summary>
/// <summary>
/// Gets or sets the Stream of the last few kills from ZKillBoard
/// </summary>
public ObservableCollection<ZKBDataSimple> KillStream { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions MainWindow.xaml
Expand Up @@ -57,7 +57,7 @@
</StatusBarItem>

<StatusBarItem>
<TextBlock Text="{Binding Path=EVEManager.ServerInfo.ServerTime, StringFormat=HH:mm}" Foreground="White" />
<TextBlock Text="{Binding Path=ServerTime, StringFormat=HH:mm}" Foreground="White" />
</StatusBarItem>

<Separator />
Expand All @@ -67,13 +67,13 @@
</StatusBarItem>

<StatusBarItem>
<TextBlock Text="{Binding Path=EVEManager.ServerInfo.ServerVersion}" Foreground="White"/>
<TextBlock Text="{Binding Path=ServerVersion}" Foreground="White"/>
</StatusBarItem>

<Separator />

<StatusBarItem>
<TextBlock Text="{Binding Path=EVEManager.ServerInfo.NumPlayers}" Foreground="White"/>
<TextBlock Text="{Binding Path=NumPlayers}" Foreground="White"/>
</StatusBarItem>

<StatusBarItem >
Expand Down
5 changes: 5 additions & 0 deletions MainWindow.xaml.cs
Expand Up @@ -44,8 +44,11 @@ public MainWindow()
AppWindow = this;
DataContext = this;


InitializeComponent();



Title = "SMT (CYNO23 NEWS : " + SMTVersion + ")";

CheckGitHubVersion();
Expand Down Expand Up @@ -142,6 +145,8 @@ public MainWindow()
UniverseUC.Init();
UniverseUC.RequestRegionSystem += UniverseUC_RequestRegionSystem;

AppStatusBar.DataContext = EVEManager.ServerInfo;

// load the anom data
string anomDataFilename = EVEManager.SaveDataFolder + @"\Anoms.dat";
if (File.Exists(anomDataFilename))
Expand Down

0 comments on commit 75b1249

Please sign in to comment.