diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-27 18:49:13 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-27 18:49:13 -0400 |
commit | adda9611c73163270cbfcd34d6617560f81d54b0 (patch) | |
tree | a5c164a7dba15a45d3a64f21615be0f83626c292 /src/SMAPI/Framework/SGame.cs | |
parent | b7edf31c257aad563d12988cf3e99b00a1434ef4 (diff) | |
download | SMAPI-adda9611c73163270cbfcd34d6617560f81d54b0.tar.gz SMAPI-adda9611c73163270cbfcd34d6617560f81d54b0.tar.bz2 SMAPI-adda9611c73163270cbfcd34d6617560f81d54b0.zip |
add multiplayer sync events (#479)
Diffstat (limited to 'src/SMAPI/Framework/SGame.cs')
-rw-r--r-- | src/SMAPI/Framework/SGame.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs index 7ea83957..89bf18ef 100644 --- a/src/SMAPI/Framework/SGame.cs +++ b/src/SMAPI/Framework/SGame.cs @@ -155,6 +155,7 @@ namespace StardewModdingAPI.Framework if (this.ContentCore == null) // shouldn't happen since CreateContentManager is called first, but let's init here just in case this.ContentCore = new ContentCore(this.Content.ServiceProvider, this.Content.RootDirectory, Thread.CurrentThread.CurrentUICulture, this.Monitor, reflection); Game1.input = new SInputState(); + Game1.multiplayer = new SMultiplayer(monitor, eventManager); // init watchers Game1.locations = new ObservableCollection<GameLocation>(); |