summaryrefslogtreecommitdiff
path: root/src/SMAPI
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-09-22 18:27:08 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-09-22 18:27:08 -0400
commitb5573a93313fae18cafb2a78765ede168f19f634 (patch)
treec1a6b13123a9c6174d148bfc54d42452d0763f8d /src/SMAPI
parent64d4e1d3da3585c5d1e0cbb3bd924f3734d6e182 (diff)
downloadSMAPI-b5573a93313fae18cafb2a78765ede168f19f634.tar.gz
SMAPI-b5573a93313fae18cafb2a78765ede168f19f634.tar.bz2
SMAPI-b5573a93313fae18cafb2a78765ede168f19f634.zip
update release notes, format code
Diffstat (limited to 'src/SMAPI')
-rw-r--r--src/SMAPI/Framework/Logging/LogManager.cs14
-rw-r--r--src/SMAPI/Framework/SCore.cs1
2 files changed, 7 insertions, 8 deletions
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}",