Skip to content

Create the user data directory when saving the settings - #63

Merged
Flamefire merged 2 commits into
Return-To-The-Roots:masterfrom
littleant:fix-settings-dir
Nov 18, 2026
Merged

Flamefire merged 2 commits into
Return-To-The-Roots:masterfrom
littleant:fix-settings-dir

Conversation

@littleant

Copy link
Copy Markdown
Contributor

The settings were silently not saved if the directory did not exist yet, e.g. on Linux when the game was never started (~/.s25rttr). Also report errors when writing the settings fails.

The settings were silently not saved if the directory did not exist yet,
e.g. on Linux when the game was never started (~/.s25rttr).
Also report errors when writing the settings fails.
Comment thread CGame.cpp Resolved

@Flamefire Flamefire left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor change applied directly

@littleant

Copy link
Copy Markdown
Contributor Author

A rerun of the checks should now succeed.
The CI cloned an old version of s25client/s25edit this has been solved now, I think.

@Flamefire
Flamefire merged commit ff2e4a9 into Return-To-The-Roots:master Nov 18, 2026
7 of 12 checks passed
@littleant
littleant deleted the fix-settings-dir branch November 18, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants