summaryrefslogtreecommitdiff
path: root/src/SMAPI/Context.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2023-03-26 13:30:58 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2023-04-02 15:43:58 -0400
commitc0ac58f2778fd70e9937a77d3af8a06ef957d871 (patch)
tree4cac301ab4616d24fec6754aeaf1ea586c01908c /src/SMAPI/Context.cs
parentd2134f0f70963d0673883f8c544267341d3ccc6c (diff)
downloadSMAPI-c0ac58f2778fd70e9937a77d3af8a06ef957d871.tar.gz
SMAPI-c0ac58f2778fd70e9937a77d3af8a06ef957d871.tar.bz2
SMAPI-c0ac58f2778fd70e9937a77d3af8a06ef957d871.zip
fix IsWorldReady being editable by mods
Diffstat (limited to 'src/SMAPI/Context.cs')
-rw-r--r--src/SMAPI/Context.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Context.cs b/src/SMAPI/Context.cs
index c822908e..978459e8 100644
--- a/src/SMAPI/Context.cs
+++ b/src/SMAPI/Context.cs
@@ -60,7 +60,7 @@ namespace StardewModdingAPI
public static bool IsWorldReady
{
get => Context.IsWorldReadyForScreen.Value;
- set => Context.IsWorldReadyForScreen.Value = value;
+ internal set => Context.IsWorldReadyForScreen.Value = value;
}
/// <summary>Whether <see cref="IsWorldReady"/> is true and the player is free to act in the world (no menu is displayed, no cutscene is in progress, etc).</summary>