aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/Commands.cs
diff options
context:
space:
mode:
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}");
+ }
}
}
}