Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is needed because Mono validates Program's instance fields before the static Main runs, so the custom assembly resolution isn't set up until the app has already crashed due to invalid property types.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We previously checked !SaveGame.IsProcessing to avoid running events while the game was saving. Due to a bug in Stardew Valley on Linux/Mac, this flag is never unset when the save completes. It's no longer needed anyway, since SMAPI now runs the save synchronously.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
possible, and encapsulate a bit more
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This avoids issues when mod events are called asynchronously (like IAssetLoaders loading PNG tilesheets on season change while the game is drawing).
|
|
|
|
|
|
|
|
cases where it's not added automatically
|