aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/Commands.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-08-03 11:55:53 -0400
committerMichael <[email protected]>2017-08-03 11:55:53 -0400
commit1f131438c0be7fe7a7c558530d32f24d3696686a (patch)
tree6d22b6d87d3e30353cf793d134a5eaddb43f1612 /ShiftOS.Frontend/Commands.cs
parentbe1b65d1c63c05f01164f9ab1395233ab367aedf (diff)
downloadshiftos_thereturn-1f131438c0be7fe7a7c558530d32f24d3696686a.tar.gz
shiftos_thereturn-1f131438c0be7fe7a7c558530d32f24d3696686a.tar.bz2
shiftos_thereturn-1f131438c0be7fe7a7c558530d32f24d3696686a.zip
the first mission
Diffstat (limited to 'ShiftOS.Frontend/Commands.cs')
-rw-r--r--ShiftOS.Frontend/Commands.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/ShiftOS.Frontend/Commands.cs b/ShiftOS.Frontend/Commands.cs
index 7218802..67bf94f 100644
--- a/ShiftOS.Frontend/Commands.cs
+++ b/ShiftOS.Frontend/Commands.cs
@@ -254,15 +254,18 @@ namespace ShiftOS.Frontend
var missionattrib = mth.GetCustomAttributes(false).FirstOrDefault(x => x is MissionAttribute) as MissionAttribute;
if(missionattrib != null)
{
- found = true;
- Console.WriteLine();
- Console.WriteLine($@"{missionattrib.Name} (id {missionattrib.StoryID})
+ if (!Shiftorium.UpgradeInstalled(missionattrib.StoryID))
+ {
+ found = true;
+ Console.WriteLine();
+ Console.WriteLine($@"{missionattrib.Name} (id {missionattrib.StoryID})
------------------------------------
assigner: {missionattrib.Assigner}
cp reward: {missionattrib.CodepointAward}
{missionattrib.Description}");
+ }
}
}
}