Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(preferences): fixes saving of certain preferences #5110

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

Tsurupeta
Copy link
Contributor

About the pull request

Fixed the saving of certain prefs, like DISABLING RADIAL MENUS (important!!!) among others.

I'm too lazy to list them out so heres a screenshot with list of prefs that are fixed.

image

Changelog

🆑
fix: fixed saving of certain preferences.
/:cl:

@github-actions github-actions bot added the Fix Fix one bug, make ten more label Dec 3, 2023
Drulikar
Drulikar previously approved these changes Dec 3, 2023
@Drulikar Drulikar dismissed their stale review December 3, 2023 20:36

Changes made post approval that require testing

Copy link
Contributor

@Drulikar Drulikar left a comment

Choose a reason for hiding this comment

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

Changes are fine, though I'm going to fiddle with making it only save when needed.

@Drulikar Drulikar added this pull request to the merge queue Dec 4, 2023
Merged via the queue into cmss13-devs:master with commit bfd182d Dec 4, 2023
26 checks passed
cm13-github added a commit that referenced this pull request Dec 4, 2023
github-merge-queue bot pushed a commit that referenced this pull request Dec 6, 2023
# About the pull request

This PR is a followup to #5110 and #2926 making it so we only save the
`key_bindings` value rather than all preferences. I'd be inclined to
just not save at all, but the initial commit on the ported input system
has us saving `remembered_key_bindings` just a few lines down anyways so
no matter what we're writing something.

# Explain why it's good for the game

Should better future proof this trampling preferences, but still retain
existing behavior where any automatically rebound keys are immediately
saved.

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl: Drathek
code: Reduced most preference re-saving when preferences are initially
loaded
/:cl:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants