From 7f2d501edf6330f2a9bfce6742480b4b684d6216 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 15 Dec 2022 22:14:31 -0800 Subject: [PATCH] Output security sectors to info (fixes #440) --- CHANGELIST.md | 1 + MPF.Library/InfoTool.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELIST.md b/CHANGELIST.md index 962ffd72..83f505a8 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -24,6 +24,7 @@ - Fix incorrect SetParameters - Fix a couple redumper things - Update AppVeyor version +- Output security sectors to info ### 2.4 (2022-10-26) - Update to DIC 20211001 diff --git a/MPF.Library/InfoTool.cs b/MPF.Library/InfoTool.cs index ec276058..c84e1b22 100644 --- a/MPF.Library/InfoTool.cs +++ b/MPF.Library/InfoTool.cs @@ -780,7 +780,7 @@ namespace MPF.Library // AddIfExists(output, Template.RegionalParentField, info.RegionalParent.ToString()); // Extras section - if (info.Extras.PVD != null || info.Extras.PIC != null || info.Extras.BCA != null) + if (info.Extras.PVD != null || info.Extras.PIC != null || info.Extras.BCA != null || info.Extras.SecuritySectorRanges != null) { output.Add(""); output.Add("Extras:"); AddIfExists(output, Template.PVDField, info.Extras.PVD?.Trim(), 1);