diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-13 00:34:28 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-13 00:34:28 -0500 |
commit | cd277e915f85260c8af665b5aeb44368badf06e8 (patch) | |
tree | 5ad41162f8e327c4263dbc02f3c1715b95a2a424 /src/SMAPI | |
parent | 3fef9bb2a5cc39fc6ba15199b0889fae5533c5f0 (diff) | |
download | SMAPI-cd277e915f85260c8af665b5aeb44368badf06e8.tar.gz SMAPI-cd277e915f85260c8af665b5aeb44368badf06e8.tar.bz2 SMAPI-cd277e915f85260c8af665b5aeb44368badf06e8.zip |
fix NPCDisposition asset propagation breaking NPC data
Diffstat (limited to 'src/SMAPI')
-rw-r--r-- | src/SMAPI/Metadata/CoreAssetPropagator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs index 4667be7e..a44ab7d1 100644 --- a/src/SMAPI/Metadata/CoreAssetPropagator.cs +++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs @@ -504,7 +504,7 @@ namespace StardewModdingAPI.Metadata if (!character.isVillager() || !dispositions.ContainsKey(character.Name)) continue; - NPC clone = new NPC(null, Vector2.Zero, 0, character.Name); + NPC clone = new NPC(null, character.Position, character.DefaultMap, character.FacingDirection, character.Name, null, character.Portrait, eventActor: false); character.Age = clone.Age; character.Manners = clone.Manners; character.SocialAnxiety = clone.SocialAnxiety; |