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

assingGear - Selectable "No optic" and Fixed List #613

Merged
merged 3 commits into from
Dec 15, 2024

Conversation

lambdatiger
Copy link
Contributor

This PR adds a no optic option when custom optics are allowed and provides a CBA option to not hide the current optic from hte list.

Copy link
Contributor

@TheCandianVendingMachine TheCandianVendingMachine left a comment

Choose a reason for hiding this comment

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

why # over select? operator precidence affecting this?

@lambdatiger
Copy link
Contributor Author

lambdatiger commented Dec 5, 2024

why # over select? operator precidence affecting this?

I use # by default, do you want it to be select? Originally I had it as primaryWeaponItems _player #2 which works but is less readable so I added the parentheses.

@TheCandianVendingMachine
Copy link
Contributor

i dont care about it, just wanted to know if i had a blindspot

@PabstMirror PabstMirror added this to the v1.3.50 milestone Dec 8, 2024
Copy link
Contributor

@PabstMirror PabstMirror left a comment

Choose a reason for hiding this comment

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

lgtm
I don't think we need a setting or could make it default true but it's fine as is

@lambdatiger
Copy link
Contributor Author

I've been trying to avoid changing default behavior since I know some people like hiding the current optic. I think your modification helps make it a bit clearer which is current and we could get rid of it, let me do a quick "survey" and we can cut it out if there's no opposition.

@lambdatiger
Copy link
Contributor Author

Alright based on feedback I'll remove the option

@PabstMirror PabstMirror merged commit 0a33bfe into master Dec 15, 2024
1 check passed
@PabstMirror PabstMirror deleted the no-optic-option branch December 15, 2024 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants