Skip to content

Commit 78964d4

Browse files
[PORT] Fixes wings working when they shouldn't (#6430)
## About The Pull Request Closes #6386 by porting [#83239](tgstation/tgstation#83239) https://github.com/user-attachments/assets/2e4e65f2-7c3c-4f1d-b08a-d10b3125a483 ## Why It's Good For The Game Flying while your wings are literally crammed into a suit is not intended behavior ## Changelog :cl: fix: fixed wings working when they shouldn't /:cl:
1 parent eeceb9b commit 78964d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/modules/surgery/organs/external/wings/functional_wings.dm

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
///Called on_life(). Handle flight code and check if we're still flying
5252
/obj/item/organ/external/wings/functional/proc/handle_flight(mob/living/carbon/human/human)
53-
if(human.movement_type & ~FLYING)
53+
if(!(human.movement_type & FLYING))
5454
return FALSE
5555
if(!can_fly(human))
5656
toggle_flight(human)
@@ -115,6 +115,7 @@
115115
passtable_off(human, SPECIES_TRAIT)
116116
close_wings()
117117
human.update_body_parts()
118+
human.refresh_gravity()
118119

119120
///SPREAD OUR WINGS AND FLLLLLYYYYYY
120121
/obj/item/organ/external/wings/functional/proc/open_wings()

0 commit comments

Comments
 (0)