diff options
| author | RogueAI42 <[email protected]> | 2017-06-10 02:50:15 +1000 |
|---|---|---|
| committer | RogueAI42 <[email protected]> | 2017-06-10 02:50:15 +1000 |
| commit | e5bd035b4c520a2c8d9f398bb1efe72ebc1ccf80 (patch) | |
| tree | 0119a47fb1a7b8e615330a1bb8d0e0c6157b625f /ShiftOS.WinForms | |
| parent | ebf9b7b253c78cc950a63c4d4e055b71e29dcd4e (diff) | |
| download | shiftos_thereturn-e5bd035b4c520a2c8d9f398bb1efe72ebc1ccf80.tar.gz shiftos_thereturn-e5bd035b4c520a2c8d9f398bb1efe72ebc1ccf80.tar.bz2 shiftos_thereturn-e5bd035b4c520a2c8d9f398bb1efe72ebc1ccf80.zip | |
fix a small bad in ShiftoriumFrontend
Diffstat (limited to 'ShiftOS.WinForms')
| -rw-r--r-- | ShiftOS.WinForms/Applications/ShiftoriumFrontend.cs | 3 |
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(); |
