Merge pull request #127 from RogueAI42/master
fix a small bad in ShiftoriumFrontend
This commit is contained in:
commit
7dd109719b
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue