diff options
| author | Michael <[email protected]> | 2017-04-24 21:01:42 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-24 21:01:42 -0400 |
| commit | d4316e75fc876ec7ceac3f1a9362ef7b36ca40cf (patch) | |
| tree | 94d937d8b695085f521d6a75991ef356cac0f59e /ShiftOS_TheReturn/Shiftorium.cs | |
| parent | 7c070a8213fc59f289385d82b60c3a49c02e03a9 (diff) | |
| download | shiftos_thereturn-d4316e75fc876ec7ceac3f1a9362ef7b36ca40cf.tar.gz shiftos_thereturn-d4316e75fc876ec7ceac3f1a9362ef7b36ca40cf.tar.bz2 shiftos_thereturn-d4316e75fc876ec7ceac3f1a9362ef7b36ca40cf.zip | |
Audio Player work.
Diffstat (limited to 'ShiftOS_TheReturn/Shiftorium.cs')
| -rw-r--r-- | ShiftOS_TheReturn/Shiftorium.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Shiftorium.cs b/ShiftOS_TheReturn/Shiftorium.cs index c46aed0..d568f47 100644 --- a/ShiftOS_TheReturn/Shiftorium.cs +++ b/ShiftOS_TheReturn/Shiftorium.cs @@ -248,6 +248,16 @@ namespace ShiftOS.Engine if (SaveSystem.CurrentSave.StoriesExperienced == null) SaveSystem.CurrentSave.StoriesExperienced = new List<string>(); + if (id.Contains(';')) + { + foreach(var u in id.Split(';')) + { + if (UpgradeInstalled(u) == false) + return false; + } + return true; + } + bool upgInstalled = false; if(SaveSystem.CurrentSave.Upgrades.ContainsKey(id)) upgInstalled = SaveSystem.CurrentSave.Upgrades[id]; |
