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

Check_keybindings now only saves keybinds rather than everything #5120

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

Drulikar
Copy link
Contributor

@Drulikar Drulikar commented Dec 4, 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

Screenshots & Videos

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

Changelog

🆑 Drathek
code: Reduced most preference re-saving when preferences are initially loaded
/:cl:

@github-actions github-actions bot added the Code Improvement Make the code longer label Dec 4, 2023
@harryob harryob added this pull request to the merge queue Dec 6, 2023
Merged via the queue into cmss13-devs:master with commit 8152651 Dec 6, 2023
28 checks passed
cm13-github added a commit that referenced this pull request Dec 6, 2023
@Drulikar Drulikar deleted the Check_Keybinds_Saving branch December 6, 2023 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Improvement Make the code longer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants