Skip to content

ModLoaderUserProfile - Reset the current user profile if the save failed #295

@KANAjetzt

Description

@KANAjetzt

should we reset the current user profile if the save failed?

Originally posted by @Qubus0 in #293 (comment)

Additionally on Discord:

Ste — Today at 09:11
resetting to the one that was previously set
this might be a thing we have to pull through multiple places where we save stuff
and the save error messages also should be properly logged, otherwise they can't be resolved - if that isn't the case yet. it might tbe that it is logged twice, once in the save and once as general "can't be saved" in the method that tries to save
i'm thinking that this "aplying but not saving" issue might have led to the report by rene.. the mod was toggled inactive, but the save failed. then the game was restarted and the profile went back to the pre-save state, so it looked like the mod disabled itself

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions