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] CVarClear when Enabled Tricks and Excluded Locations are empty #3916

Conversation

Malkierian
Copy link
Contributor

@Malkierian Malkierian commented Feb 6, 2024

Because of the limitation of CVarSetString not saving blank strings, going from any inclusion in those two lists to a blank list (whether by "Disable All" or manually clearing the last one in the list) wouldn't save, and would then return next time the game was restarted. This PR adds CVarClear for those CVars in appropriate locations to make empty lists properly save.

Build Artifacts

…ricks tabs to get around issue with saving blank CVar strings.
Copy link
Contributor

@Archez Archez left a comment

Choose a reason for hiding this comment

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

Thanks! One of the longest outstanding issues finally being fixed 🙂

@briaguya-ai
Copy link
Contributor

switch build should pass once we get #3917 in

@garrettjoecox garrettjoecox merged commit 11a0a00 into HarbourMasters:develop-macready Feb 16, 2024
8 checks passed
@Malkierian Malkierian deleted the blank-locations-tricks branch February 16, 2024 01:53
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.

4 participants