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

Remove superfluous logic in revolver/rack() #3127

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

blinkdog
Copy link
Contributor

About The Pull Request

I was reviewing revolver.dm and noticed a bit of duplicated logic.

While "twice to be sure" is usually a good idea for using a gun, it's probably not necessary here.

Why It's Good For The Game

Clean code is good code?

Changelog

🆑
fix: Cleaned up some logic in revolver safety
/:cl:

@blinkdog blinkdog requested a review from FalloutFalcon as a code owner June 19, 2024 01:47
@github-actions github-actions bot added the Code change Watch something violently break. label Jun 19, 2024
@Imaginos16 Imaginos16 added this pull request to the merge queue Jun 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 21, 2024
@Imaginos16 Imaginos16 added this pull request to the merge queue Jun 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 21, 2024
@Imaginos16 Imaginos16 added this pull request to the merge queue Jun 21, 2024
Merged via the queue into shiptest-ss13:master with commit 1e2fefe Jun 21, 2024
14 checks passed
MrCat15352 pushed a commit to MrCat15352/MrCat that referenced this pull request Jun 22, 2024
I was reviewing `revolver.dm` and noticed a bit of duplicated logic.

While "twice to be sure" is usually a good idea for using a gun, it's
probably not necessary here.

Clean code is good code?

:cl:
fix: Cleaned up some logic in revolver safety
/:cl:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code change Watch something violently break.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants