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

Description fix for Bren 5.56x45mm carbine #75435

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

p4nc4k3z
Copy link
Contributor

@p4nc4k3z p4nc4k3z commented Aug 4, 2024

Summary

None

Purpose of change

I noticed in my last run that the description text for a gun (the Bren 5.56x45mm carbine) referenced the wrong ammo type, and discovered that the text was simply not updated after being copy-pasted from a different one (the "Bren 7.62mm carbine").

Describe the solution

I updated the text to refer to the correct ammo type, copying some existing appropriate text from another item (the "5.56x45mm bullpup rifle").

Describe alternatives you've considered

I considered adjusting the Bren variants to have newly separate names (both 5.56 and 7.62 versions have the shared variant of "CZ Bren 2 carbine"), but figured a minimal edit was appropriate.

Testing

Built from source, spawned all versions of Bren guns, and compared to behavior in a recent experimental build.

Additional context

Second attempt at this PR - apologies for any confusion!

Existing text for the 5.56 version was copy-pasted from the 7.62mm
carbine description text, and therefore referenced the wrong ammo type.
Text was updated copying language from item "rdb_223".
@github-actions github-actions bot added [JSON] Changes (can be) made in JSON new contributor json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Aug 4, 2024
Copy link
Member

@RenechCDDA RenechCDDA left a comment

Choose a reason for hiding this comment

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

Looks like the description was copy-pasted from the 7.62 variant and they forgot to change it. Good catch

@Maleclypse Maleclypse merged commit dadaa89 into CleverRaven:master Aug 5, 2024
21 of 26 checks passed
@p4nc4k3z p4nc4k3z deleted the bren-carbine-desc-fix branch August 6, 2024 03:17
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 [JSON] Changes (can be) made in JSON json-styled JSON lint passed, label assigned by github actions new contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants