-
Notifications
You must be signed in to change notification settings - Fork 291
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(content): NON_FOULING
flag not working due to typo
#3655
Conversation
exciting typo fixes
NON-FOULING
-> NON_FOULING
NON_FOULING
flag not working due to typo
There being two ammo effect defs and both of them having been the hyphen version feels mildly fucking cursed. XD |
@olanti-p should i keep |
It doesn't look like we're using the ammo effect in any meaningful capacity (i.e. all relevant guns that fire these ammo should already have the NON_FOULING flag), but there might be mods that add non-fouling gunpowder-based ammo? Does such combination even work? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switched to Scarf's repo and slapped it with the search-in-folder stick, NON-FOULING
no longer appears anywhere in the data, doc, or src folders. NON_FOULING
meanwhile appears in expected areas, though it's presently absent from documentation folder.
Also searched the trio of relevant folders for NONFOULING
to really idiotproof things, no hits as expected.
Summary
SUMMARY: Bugfixes "Fix NON_FOULING flag not working due to typo"
Purpose of change
DDA removed their accidental hyphen-based item flags to underscore based ones, BN didn't follow. Thus BN was using
NON-FOULING
. #3354 introducedNON_FOULING
, which made the hardcoded flag look forNON_FOULING
.Describe the solution
search and replace
Describe alternatives you've considered
hecc.
Testing
spawned and fired A7 laser rifle a lot.
before: got fouling
after: got no fouling