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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes wings working in space #83239

Merged
merged 2 commits into from
May 16, 2024
Merged

Fixes wings working in space #83239

merged 2 commits into from
May 16, 2024

Conversation

Lufferly
Copy link
Contributor

@Lufferly Lufferly commented May 15, 2024

About The Pull Request

Fixes #82035
Fixes #82184
Wings no longer are able to function in space if you activated them in an environment they can function in.
This surfaced another bug where the wings would stop flying but would leave the mob in a weird state where they weren't flying but were still negating gravity, calling refresh_gravity fixed this, if this is a bad way to do this let me know.

Why It's Good For The Game

Bugfix, wings not working in space is an intentional balance consideration.

Changelog

馃啈 Seven
fix: Wings no longer work in space if you activated them beforehand.
/:cl:

@tgstation-server tgstation-server added the Fix Rewrites a bug so it appears in different circumstances label May 15, 2024
@github-actions github-actions bot requested a review from Time-Green May 15, 2024 05:11
@ShizCalev
Copy link
Member

ShizCalev commented May 15, 2024

I remember fixing this too 6 years ago lmao

@@ -50,7 +50,7 @@

///Called on_life(). Handle flight code and check if we're still flying
/obj/item/organ/external/wings/functional/proc/handle_flight(mob/living/carbon/human/human)
if(human.movement_type & ~FLYING)
if(!(human.movement_type & FLYING))
Copy link
Contributor

Choose a reason for hiding this comment

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

I was about to correct you on this and then realized I'm the idiot that mixes up binary operators and added this bug in the first place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Rewrites a bug so it appears in different circumstances
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flight potion interaction with jetpacks and slowdown Flight Potion Wings Act as Jetpacks
4 participants