mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Fixes density when fireman carrying (#59900)
This commit is contained in:
@@ -185,7 +185,7 @@
|
||||
unequip_buckle_inhands(parent)
|
||||
var/mob/living/carbon/human/H = parent
|
||||
H.remove_movespeed_modifier(/datum/movespeed_modifier/human_carry)
|
||||
former_rider.set_density(TRUE)
|
||||
former_rider.set_density(!former_rider.body_position)
|
||||
return ..()
|
||||
|
||||
/// If the carrier shoves the person they're carrying, force the carried mob off
|
||||
|
||||
@@ -941,14 +941,7 @@
|
||||
visible_message(span_warning("[src] fails to fireman carry [target]!"))
|
||||
return
|
||||
|
||||
if(target.loc != loc)
|
||||
var/old_density = density
|
||||
density = FALSE // Hacky and doesn't use set_density()
|
||||
step_towards(target, loc)
|
||||
density = old_density // Avoid changing density directly in normal circumstances, without the setter.
|
||||
|
||||
if(target.loc == loc)
|
||||
return buckle_mob(target, TRUE, TRUE, CARRIER_NEEDS_ARM)
|
||||
return buckle_mob(target, TRUE, TRUE, CARRIER_NEEDS_ARM)
|
||||
|
||||
/mob/living/carbon/human/proc/piggyback(mob/living/carbon/target)
|
||||
if(!can_piggyback(target))
|
||||
|
||||
Reference in New Issue
Block a user