summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release-notes.md2
-rw-r--r--src/StardewModdingAPI/Context.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/release-notes.md b/release-notes.md
index 9506de9c..1a4bf67c 100644
--- a/release-notes.md
+++ b/release-notes.md
@@ -20,7 +20,7 @@ For players:
* you have Stardew Valley 1.11 or earlier (which aren't compatible);
* you run `install.exe` from within the downloaded zip file.
* Fixed "unknown mod" deprecation warnings by improving how SMAPI detects the mod using the event.
-* Fixed rare crash when window loses focuses for a few players.
+* Fixed rare crash when window loses focus for a few players.
For modders:
* Added `Context.IsInDrawLoop` for specialised mods.
diff --git a/src/StardewModdingAPI/Context.cs b/src/StardewModdingAPI/Context.cs
index 6ceabd5a..3fe70c68 100644
--- a/src/StardewModdingAPI/Context.cs
+++ b/src/StardewModdingAPI/Context.cs
@@ -17,7 +17,7 @@ namespace StardewModdingAPI
public static bool IsWorldReady { get; internal set; }
/// <summary>Whether the game is currently running the draw loop. This isn't relevant to most mods, since you should use <see cref="GraphicsEvents.OnPostRenderEvent"/> to draw to the screen.</summary>
- public static bool IsInDrawLoop { get; set; }
+ public static bool IsInDrawLoop { get; internal set; }
/****
** Internal