summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-11-14 01:36:43 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-11-14 01:36:43 -0500
commit15acbc8f230dd2c4ba394960cdcc12a22a831bbf (patch)
treed46a0b646eb8a9248f91af345e0284bc7ecf1fce /src/SMAPI/Framework/SCore.cs
parent8e1d45b3100453a11bcdf663d3567935c592098c (diff)
downloadSMAPI-15acbc8f230dd2c4ba394960cdcc12a22a831bbf.tar.gz
SMAPI-15acbc8f230dd2c4ba394960cdcc12a22a831bbf.tar.bz2
SMAPI-15acbc8f230dd2c4ba394960cdcc12a22a831bbf.zip
patch GalaxyNetServer to support context sync pending game code changes to make it public (#480)
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r--src/SMAPI/Framework/SCore.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index 890058b0..6ad118ce 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -170,7 +170,8 @@ namespace StardewModdingAPI.Framework
// apply game patches
new GamePatcher(this.Monitor).Apply(
new DialogueErrorPatch(this.MonitorForGame, this.Reflection),
- new LidgrenServerPatch()
+ new LidgrenServerPatch(),
+ new GalaxyNetServerPatch(() => this.GameInstance.Multiplayer)
);
}