reset some missed map cache fields (#751)
This commit is contained in:
parent
00e545715d
commit
5676d94fe6
|
@ -18,7 +18,8 @@
|
|||
* Network messages through the multiplayer API are no longer sent to players who don't have SMAPI installed. This reduces unneeded network traffic (since they can't read it anyway) and avoids an error in some cases.
|
||||
* Improved asset propagation:
|
||||
* Added propagation for some `Strings\StringsFromCSFiles` keys (mainly short day names).
|
||||
* Fixed some town patches not reapplied when the map is reloaded in Stardew Valley 1.5.
|
||||
* Fixed some of the game's map changes not reapplied after reloading a map in Stardew Valley 1.5.
|
||||
* Fixed quarry bridge not fixed if the mountain map was reloaded.
|
||||
* Added an option to disable rewriting mods for compatibility (thanks to Bpendragon!). This prevents older mods from loading but bypasses a Visual Studio debugger crash.
|
||||
* Game errors shown in the chatbox are now logged.
|
||||
|
||||
|
|
|
@ -791,6 +791,7 @@ namespace StardewModdingAPI.Metadata
|
|||
case Town _:
|
||||
this.Reflection.GetField<bool>(location, "ccRefurbished").SetValue(false);
|
||||
this.Reflection.GetField<bool>(location, "isShowingDestroyedJoja").SetValue(false);
|
||||
this.Reflection.GetField<bool>(location, "isShowingSpecialOrdersBoard").SetValue(false);
|
||||
this.Reflection.GetField<bool>(location, "isShowingUpgradedPamHouse").SetValue(false);
|
||||
break;
|
||||
|
||||
|
@ -799,6 +800,10 @@ namespace StardewModdingAPI.Metadata
|
|||
case Forest _:
|
||||
this.Reflection.GetField<bool>(location, "hasShownCCUpgrade").SetValue(false);
|
||||
break;
|
||||
|
||||
case Mountain _:
|
||||
this.Reflection.GetField<bool>(location, "bridgeRestored").SetValue(false);
|
||||
break;
|
||||
}
|
||||
|
||||
// general updates
|
||||
|
|
Loading…
Reference in New Issue