From 1f131438c0be7fe7a7c558530d32f24d3696686a Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 3 Aug 2017 11:55:53 -0400 Subject: the first mission --- ShiftOS.Frontend/Commands.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ShiftOS.Frontend/Commands.cs') 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}"); + } } } } -- cgit v1.2.3