diff --git a/CHANGELIST.md b/CHANGELIST.md index 10d0a0c5..bb898508 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -128,6 +128,7 @@ - Avoid unnecessary null checks - Pass options to process user info separately - Use internal options instead of external +- Use Invoke explicitly for delegates ### 3.2.4 (2024-11-24) diff --git a/MPF.Frontend/DumpEnvironment.cs b/MPF.Frontend/DumpEnvironment.cs index 3cc34fcb..fb9dd88a 100644 --- a/MPF.Frontend/DumpEnvironment.cs +++ b/MPF.Frontend/DumpEnvironment.cs @@ -527,7 +527,7 @@ namespace MPF.Frontend if (_options.PromptForDiscInformation && processUserInfo != null) { resultProgress.Report(ResultEventArgs.Success("Waiting for additional disc information...")); - bool? filledInfo = processUserInfo(_options, ref submissionInfo); + bool? filledInfo = processUserInfo.Invoke(_options, ref submissionInfo); if (filledInfo == true) resultProgress.Report(ResultEventArgs.Success("Additional disc information added!")); else