diff options
| author | Michael <[email protected]> | 2017-08-03 11:55:53 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-08-03 11:55:53 -0400 |
| commit | 1f131438c0be7fe7a7c558530d32f24d3696686a (patch) | |
| tree | 6d22b6d87d3e30353cf793d134a5eaddb43f1612 /ShiftOS.Frontend/Commands.cs | |
| parent | be1b65d1c63c05f01164f9ab1395233ab367aedf (diff) | |
| download | shiftos_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.cs | 9 |
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}"); + } } } } |
