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

Assign default value of 1.0 for fault price modifiers, instead of 0 #72237

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

RenechCDDA
Copy link
Member

Summary

None

Purpose of change

All guns with even a speck of dust were worth $0, because I forgot to assign a default price_modifier for faults (defaults to 0). My mistake made in #72142

Describe the solution

Set the default to 1.0, as intended.

Describe alternatives you've considered

Testing

Guns with fouling (fault) sell for the same price as guns without fouling, as intended. (Fouling has no price_modifier assigned)

Additional context

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Mar 7, 2024
@dseguin dseguin merged commit 6740dfb into CleverRaven:master Mar 8, 2024
26 of 28 checks passed
@RenechCDDA RenechCDDA deleted the fix_fault_prices branch March 8, 2024 01:31
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants