summaryrefslogtreecommitdiff
path: root/src/SMAPI.Installer/InteractiveInstaller.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-16 11:29:40 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-16 11:29:40 -0400
commita090b6c21c877e8835f25e1d70d667abf07d1d3c (patch)
treebcd67890749d2f1c7dcdc7e82aba229cbba65d26 /src/SMAPI.Installer/InteractiveInstaller.cs
parent896f531f4f6fc7f0e8dfcfc0d6433850233ee749 (diff)
downloadSMAPI-a090b6c21c877e8835f25e1d70d667abf07d1d3c.tar.gz
SMAPI-a090b6c21c877e8835f25e1d70d667abf07d1d3c.tar.bz2
SMAPI-a090b6c21c877e8835f25e1d70d667abf07d1d3c.zip
use newer C# features
Diffstat (limited to 'src/SMAPI.Installer/InteractiveInstaller.cs')
-rw-r--r--src/SMAPI.Installer/InteractiveInstaller.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs
index 5b0c6e1f..f8371d57 100644
--- a/src/SMAPI.Installer/InteractiveInstaller.cs
+++ b/src/SMAPI.Installer/InteractiveInstaller.cs
@@ -707,7 +707,7 @@ namespace StardewModdingApi.Installer
/// <param name="indent">The indentation to prefix to output.</param>
private string InteractivelyChoose(string message, string[] options, string indent = "", Action<string> print = null)
{
- print = print ?? this.PrintInfo;
+ print ??= this.PrintInfo;
while (true)
{