aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-24 21:01:42 -0400
committerMichael <[email protected]>2017-04-24 21:01:42 -0400
commitd4316e75fc876ec7ceac3f1a9362ef7b36ca40cf (patch)
tree94d937d8b695085f521d6a75991ef356cac0f59e /ShiftOS_TheReturn
parent7c070a8213fc59f289385d82b60c3a49c02e03a9 (diff)
downloadshiftos_thereturn-d4316e75fc876ec7ceac3f1a9362ef7b36ca40cf.tar.gz
shiftos_thereturn-d4316e75fc876ec7ceac3f1a9362ef7b36ca40cf.tar.bz2
shiftos_thereturn-d4316e75fc876ec7ceac3f1a9362ef7b36ca40cf.zip
Audio Player work.
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/Shiftorium.cs10
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];