aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/Applications')
-rw-r--r--ShiftOS.WinForms/Applications/ShiftoriumFrontend.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/ShiftoriumFrontend.cs b/ShiftOS.WinForms/Applications/ShiftoriumFrontend.cs
index 0ae0803..5dfb98e 100644
--- a/ShiftOS.WinForms/Applications/ShiftoriumFrontend.cs
+++ b/ShiftOS.WinForms/Applications/ShiftoriumFrontend.cs
@@ -47,7 +47,7 @@ namespace ShiftOS.WinForms.Applications
public partial class ShiftoriumFrontend : UserControl, IShiftOSWindow
{
public int CategoryId = 0;
- private string[] cats = backend.GetCategories();
+ private string[] cats;
private ShiftoriumUpgrade[] avail;
@@ -94,6 +94,7 @@ namespace ShiftOS.WinForms.Applications
private void Populate()
{
+ cats = Shiftorium.GetCategories();
upgrades = new Dictionary<string, ShiftoriumUpgrade>[cats.Length];
int numComplete = 0;
avail = backend.GetAvailable();