summaryrefslogtreecommitdiff
path: root/src/SMAPI/Patches/Game1Patcher.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-01 18:16:09 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-01 18:16:09 -0400
commitc8ad50dad1d706a1901798f9396f6becfea36c0e (patch)
tree28bd818a5db39ec5ece1bd141a28de955950463b /src/SMAPI/Patches/Game1Patcher.cs
parent451b70953ff4c0b1b27ae0de203ad99379b45b2a (diff)
parentf78093bdb58d477b400cde3f19b70ffd6ddf833d (diff)
downloadSMAPI-c8ad50dad1d706a1901798f9396f6becfea36c0e.tar.gz
SMAPI-c8ad50dad1d706a1901798f9396f6becfea36c0e.tar.bz2
SMAPI-c8ad50dad1d706a1901798f9396f6becfea36c0e.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Patches/Game1Patcher.cs')
-rw-r--r--src/SMAPI/Patches/Game1Patcher.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Patches/Game1Patcher.cs b/src/SMAPI/Patches/Game1Patcher.cs
index 173a2055..8f806790 100644
--- a/src/SMAPI/Patches/Game1Patcher.cs
+++ b/src/SMAPI/Patches/Game1Patcher.cs
@@ -20,10 +20,10 @@ namespace StardewModdingAPI.Patches
** Fields
*********/
/// <summary>Simplifies access to private code.</summary>
- private static Reflector Reflection;
+ private static Reflector Reflection = null!; // initialized in constructor
/// <summary>A callback to invoke when the load stage changes.</summary>
- private static Action<LoadStage> OnStageChanged;
+ private static Action<LoadStage> OnStageChanged = null!; // initialized in constructor
/// <summary>Whether the game is running running the code in <see cref="Game1.loadForNewGame"/>.</summary>
private static bool IsInLoadForNewGame;