[Content Patcher] marriage dialogue not invalidated correctly
Pathoschild opened this issue ยท 2 comments
If a marriage dialogue patch doesn't apply until a subsequent day, it's not applied when the conditions match (see sample log).
Repro steps:
- Add this save file and this content pack.
- Go to bed in-game.
patch summary
shows the dialogue is loaded and conditions match, but not applied.
Reported by tenthousandcats#0967.
That's difficult to fix. The marriage dialogue is set in npc.dayUpdate
and npc.marriageDuties
from the middle of _newDayAfterFade
, so Content Patcher can't just update its context before it's called or invoke a reload-dialogue method. Not sure how to fix this cleanly yet (without just reimplementing the game logic).