summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/Monitor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Framework/Monitor.cs')
-rw-r--r--src/StardewModdingAPI/Framework/Monitor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Framework/Monitor.cs b/src/StardewModdingAPI/Framework/Monitor.cs
index 3a9276a0..c1735917 100644
--- a/src/StardewModdingAPI/Framework/Monitor.cs
+++ b/src/StardewModdingAPI/Framework/Monitor.cs
@@ -82,7 +82,7 @@ namespace StardewModdingAPI.Framework
public void ExitGameImmediately(string reason)
{
Program.ExitGameImmediately(this.Source, reason);
- Program.gamePtr.Exit();
+ Program.GameInstance.Exit();
}
/// <summary>Log a fatal error message.</summary>