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] Reward Count Slider Defaults not registering #3875

Conversation

Malkierian
Copy link
Contributor

@Malkierian Malkierian commented Jan 24, 2024

The defaults for the reward count slider weren't registering when Greg As Reward was selected, as it was visually changing the value to the +1 that Greg would require without actually changing the CVar value, so it was still assumed to be the non-Greg default. This just unifies the default values for all the CVar slider options to make it clear that they need to actually be changed when Greg As Reward is selected with no previous CVar value.

Build Artifacts

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.

I'm not noticing a difference between the *_STANDARD and *_WILDCARD slider variants. I think we could probably tidy up the code here by making those two cases fallthrough to the same slider. Thoughts?

@Malkierian
Copy link
Contributor Author

I was already planning on streamlining the code for it, there's a LOT of redundancy that can be eliminated. I just didn't think it belonged in a fix PR like this.

@Archez
Copy link
Contributor

Archez commented Feb 1, 2024

Ah ok if you're planning to address that in a follow up then that's fine 👍
Or I suppose this is all changing in the rando branch anyways.

@garrettjoecox garrettjoecox merged commit e3825ec into HarbourMasters:develop-macready Feb 2, 2024
8 checks passed
@Malkierian Malkierian deleted the greg-reward-default-fix branch August 2, 2024 04:39
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