Pathoschild / SMAPI

The modding API for Stardew Valley.
https://smapi.io/
GNU Lesser General Public License v3.0
1.81k stars 259 forks source link

Add doors to the warps-changed tracking in map asset propagation #911

Closed atravita-mods closed 1 year ago

atravita-mods commented 1 year ago

Currently, doors are ignored by the code that checks to see if the macro pathfinding cache needs to be refreshed. As NPCs can still use doors, this causes npcs to path weirdly.

(Was helping Dodo debug a schedule. East Scarpe has a place where a door warp only exists on certain days, and if he loaded the game on that day, Rodney pathed correctly. If he slept into the day, Rodney couldn't find the warp.)

Pathoschild commented 1 year ago

Merged into develop for the upcoming SMAPI 3.18.5. Thanks for the help!