From b5573a93313fae18cafb2a78765ede168f19f634 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Tue, 22 Sep 2020 18:27:08 -0400 Subject: update release notes, format code --- src/SMAPI/Framework/Logging/LogManager.cs | 14 +++++++------- src/SMAPI/Framework/SCore.cs | 1 - 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'src/SMAPI') diff --git a/src/SMAPI/Framework/Logging/LogManager.cs b/src/SMAPI/Framework/Logging/LogManager.cs index d83a5c0b..094dd749 100644 --- a/src/SMAPI/Framework/Logging/LogManager.cs +++ b/src/SMAPI/Framework/Logging/LogManager.cs @@ -138,15 +138,15 @@ namespace StardewModdingAPI.Framework.Logging Thread inputThread = new Thread(() => { while (true) - { + { // get input - string input = Console.ReadLine(); - if (string.IsNullOrWhiteSpace(input)) - continue; + string input = Console.ReadLine(); + if (string.IsNullOrWhiteSpace(input)) + continue; - // handle command - this.Monitor.LogUserInput(input); - handleInput(input); + // handle command + this.Monitor.LogUserInput(input); + handleInput(input); } }); inputThread.Start(); diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index e2a9463b..776e32da 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -288,7 +288,6 @@ namespace StardewModdingAPI.Framework } }); - // set window titles this.SetWindowTitles( game: $"Stardew Valley {Constants.GameVersion} - running SMAPI {Constants.ApiVersion}", -- cgit