mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 01:54:52 +01:00
wings passtable fix (#46833)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user