Sometimes the player will go multiple turns without an autosave being made. This is likely due to logic in XComPresentationLayer.PlayerCanSave and functions around it, which try to prevent saving during certain situations (such as world tile data rebuilding) that could lead to corruption or bad behavior.
LWCE could tackle this a few ways:
Split out the logic for manual saves from autosaves, and make autosave less restrictive (e.g. XGBattle_SP.PlayerCanSave won't allow saving if a unit is in their panic animation; maybe we don't have to care about that for autosaves)
When an autosave isn't possible, try again in a little bit; cancel the queued save if any game state changes
Add an option to prevent the player from doing anything at the start of their turn until an autosave is completed
Sometimes the player will go multiple turns without an autosave being made. This is likely due to logic in
XComPresentationLayer.PlayerCanSave
and functions around it, which try to prevent saving during certain situations (such as world tile data rebuilding) that could lead to corruption or bad behavior.LWCE could tackle this a few ways:
XGBattle_SP.PlayerCanSave
won't allow saving if a unit is in their panic animation; maybe we don't have to care about that for autosaves)