[MIRROR] Piggyback rides no longer permanently remove your density [MDB IGNORE] (#22754)

* Piggyback rides no longer permanently remove your density (#77168)

## About The Pull Request

Fixes #77041
Getting onto someone's back would give you "TRAIT_UNDENSE" to stop you
from colliding with things your mount could cross.
Getting off someone's back would remove "TRAIT_UNDENSE" from the person
being ridden.
They didn't have the trait, so removing it from them wasn't very useful.

## Why It's Good For The Game

This is silly

## Changelog

🆑
fix: Dismounting from a piggyback no longer allows you to phase through
other players.
/🆑

* Piggyback rides no longer permanently remove your density

---------

Co-authored-by: Jacquerel <hnevard@gmail.com>
This commit is contained in:
SkyratBot
2023-07-30 20:43:27 -04:00
committed by nevimer
co-authored by Jacquerel
parent 1f00340284
commit 94ced4ae67
+1 -1
View File
@@ -216,7 +216,7 @@
unequip_buckle_inhands(parent)
var/mob/living/carbon/human/H = parent
H.remove_movespeed_modifier(/datum/movespeed_modifier/human_carry)
REMOVE_TRAIT(H, TRAIT_UNDENSE, VEHICLE_TRAIT)
REMOVE_TRAIT(former_rider, TRAIT_UNDENSE, VEHICLE_TRAIT)
return ..()
/// If the carrier shoves the person they're carrying, force the carried mob off