diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-08 19:50:09 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-08 19:50:09 -0400 |
commit | 6053b8c01f4bf12bb6addb48c31e1032dc2e2b30 (patch) | |
tree | 402f51a008522fdd3b32ca83a4aa867dac9c053e /src/SMAPI/Framework/SCore.cs | |
parent | ea3d3a6648f0a1c679a7593cfed0dacaed1ec045 (diff) | |
download | SMAPI-6053b8c01f4bf12bb6addb48c31e1032dc2e2b30.tar.gz SMAPI-6053b8c01f4bf12bb6addb48c31e1032dc2e2b30.tar.bz2 SMAPI-6053b8c01f4bf12bb6addb48c31e1032dc2e2b30.zip |
prevent game crash caused by invalid dialogue
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r-- | src/SMAPI/Framework/SCore.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index af517379..9f642649 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -26,6 +26,7 @@ using StardewModdingAPI.Framework.Patching; using StardewModdingAPI.Framework.Reflection; using StardewModdingAPI.Framework.Serialisation; using StardewModdingAPI.Internal; +using StardewModdingAPI.Patches; using StardewModdingAPI.Toolkit; using StardewModdingAPI.Toolkit.Framework.Clients.WebApi; using StardewModdingAPI.Toolkit.Framework.ModData; @@ -174,7 +175,7 @@ namespace StardewModdingAPI.Framework // apply game patches new GamePatcher(this.Monitor).Apply( - // new GameLocationPatch() + new DialoguePatch(this.MonitorForGame, this.Reflection) ); } |