summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-05-16 01:08:47 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-05-16 01:08:47 -0400
commit57aa4016abaa1385fbc954c62e3f76d9496c6a42 (patch)
treebfa9855c4fe5816ce7ca75288e03f5883d775d37 /src
parent639302aa65b174304789e9c4862d4cce2d74150d (diff)
downloadSMAPI-57aa4016abaa1385fbc954c62e3f76d9496c6a42.tar.gz
SMAPI-57aa4016abaa1385fbc954c62e3f76d9496c6a42.tar.bz2
SMAPI-57aa4016abaa1385fbc954c62e3f76d9496c6a42.zip
fix crossplatform error due to Netcode references not being rewritten (#514)
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI/Constants.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs
index 5347deff..bea4bb20 100644
--- a/src/SMAPI/Constants.cs
+++ b/src/SMAPI/Constants.cs
@@ -117,6 +117,7 @@ namespace StardewModdingAPI
case Platform.Mac:
removeAssemblyReferences = new[]
{
+ "Netcode",
"Stardew Valley",
"Microsoft.Xna.Framework",
"Microsoft.Xna.Framework.Game",
@@ -124,6 +125,7 @@ namespace StardewModdingAPI
};
targetAssemblies = new[]
{
+ typeof(Netcode.NetBool).Assembly,
typeof(StardewValley.Game1).Assembly,
typeof(Microsoft.Xna.Framework.Vector2).Assembly
};
@@ -132,11 +134,13 @@ namespace StardewModdingAPI
case Platform.Windows:
removeAssemblyReferences = new[]
{
+ "Netcode",
"StardewValley",
"MonoGame.Framework"
};
targetAssemblies = new[]
{
+ typeof(Netcode.NetBool).Assembly,
typeof(StardewValley.Game1).Assembly,
typeof(Microsoft.Xna.Framework.Vector2).Assembly,
typeof(Microsoft.Xna.Framework.Game).Assembly,