diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-06-08 23:33:09 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-06-08 23:33:09 -0400 |
commit | 8713914a1af3b5ac7e4a2cdce7e084055ac9cd33 (patch) | |
tree | f81edef93cc028fe499ab888e3e49f29557aef5f /src/SMAPI/Framework | |
parent | fdb74df8a4c899b81009c7e04659be9007545788 (diff) | |
download | SMAPI-8713914a1af3b5ac7e4a2cdce7e084055ac9cd33.tar.gz SMAPI-8713914a1af3b5ac7e4a2cdce7e084055ac9cd33.tar.bz2 SMAPI-8713914a1af3b5ac7e4a2cdce7e084055ac9cd33.zip |
avoid NPC pathfinding rebuild if reachable locations didn't change
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r-- | src/SMAPI/Framework/ContentCoordinator.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SMAPI/Framework/ContentCoordinator.cs b/src/SMAPI/Framework/ContentCoordinator.cs index cfeb35c8..69a39ac7 100644 --- a/src/SMAPI/Framework/ContentCoordinator.cs +++ b/src/SMAPI/Framework/ContentCoordinator.cs @@ -465,7 +465,7 @@ namespace StardewModdingAPI.Framework assets: invalidatedAssets.ToDictionary(p => p.Key, p => p.Value), ignoreWorld: Context.IsWorldFullyUnloaded, out IDictionary<IAssetName, bool> propagated, - out bool updatedNpcWarps + out bool updatedWarpRoutes ); // log summary @@ -481,8 +481,8 @@ namespace StardewModdingAPI.Framework ? $"Propagated {propagatedKeys.Length} core assets ({FormatKeyList(propagatedKeys)})." : "Propagated 0 core assets." ); - if (updatedNpcWarps) - report.AppendLine("Updated NPC pathfinding cache."); + if (updatedWarpRoutes) + report.AppendLine("Updated NPC warp route cache."); } this.Monitor.Log(report.ToString().TrimEnd()); } |