Normally when the Aporkalypse starts, the existing season and its progress is saved, to be resumed later when the Aporkalypse ends.
However, seasonmanager_pork.lua doesn't include pre_aporkalypse_season and pre_aporkalypse_percent in its OnSave and OnLoad methods.
The aporkalypse component does save/load the current season, but it doesn't pass it back to SeasonManager in EndAporkalypse() (and it also doesn't save the season percent).
Steps to Reproduce
GetAporkalypse():BeginAporkalypse(), then GetAporkalypse():EndAporkalypse()-- this will resume the season as expected. But if you GetAporkalypse():BeginAporkalypse(), then save and exit, and load back in, and then do GetAporkalypse():EndAporkalypse(), it will resume from the beginning of the Temperate season.
GetAporkalypse():BeginAporkalypse(), then GetAporkalypse():EndAporkalypse()-- this will resume the season as expected. But if you GetAporkalypse():BeginAporkalypse(), then save and exit, and load back in, and then do GetAporkalypse():EndAporkalypse(), it will resume from the beginning of the Temperate season.
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now