wings passtable fix (#46833)

This commit is contained in:
Mickyan
2019-10-03 11:34:34 +02:00
committed by Rob Bailey
parent b1c7b0b23a
commit 2bbc72cff0
@@ -1916,7 +1916,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
speedmod -= 0.35
H.setMovetype(H.movement_type | FLYING)
override_float = TRUE
H.pass_flags |= PASSTABLE
passtable_on(H, SPECIES_TRAIT)
H.OpenWings()
H.update_mobility()
else
@@ -1924,7 +1924,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
speedmod += 0.35
H.setMovetype(H.movement_type & ~FLYING)
override_float = FALSE
H.pass_flags &= ~PASSTABLE
passtable_off(H, SPECIES_TRAIT)
H.CloseWings()
/datum/action/innate/flight