summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-08-01 00:47:24 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 18:59:55 -0400
commit8e0ddd1d00e3d0d11fbaa0ffce804b3e7186c254 (patch)
treea75fe831e7b7aeb517042f3b1ae0288276ee6654
parent85715988f987a2bf1e7016e9ad82e76ec44d4f94 (diff)
downloadSMAPI-8e0ddd1d00e3d0d11fbaa0ffce804b3e7186c254.tar.gz
SMAPI-8e0ddd1d00e3d0d11fbaa0ffce804b3e7186c254.tar.bz2
SMAPI-8e0ddd1d00e3d0d11fbaa0ffce804b3e7186c254.zip
update for disconnection change in SDV 1.4 (#638)
-rw-r--r--src/SMAPI/Framework/SGame.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs
index 2f642692..376368d6 100644
--- a/src/SMAPI/Framework/SGame.cs
+++ b/src/SMAPI/Framework/SGame.cs
@@ -190,7 +190,7 @@ namespace StardewModdingAPI.Framework
/// <remarks>This overrides the logic in <see cref="Game1.exitEvent"/> to let SMAPI clean up before exit.</remarks>
protected override void OnExiting(object sender, EventArgs args)
{
- Game1.multiplayer.Disconnect();
+ Game1.multiplayer.Disconnect(StardewValley.Multiplayer.DisconnectType.ClosedGame);
this.OnGameExiting?.Invoke();
}