[MIRROR] Fixes slimes riding monkeys and thus falling off of each other (#2576)

* Fixes slimes riding monkeys and thus falling off of each other (#55887)

Fixes slimes trying to ride monkeys.

* Fixes slimes riding monkeys and thus falling off of each other

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
This commit is contained in:
SkyratBot
2021-01-08 18:45:58 +01:00
committed by GitHub
co-authored by Qustinnus
parent 846dcda6af
commit d57af096f2
3 changed files with 6 additions and 0 deletions
+3
View File
@@ -39,6 +39,9 @@
/datum/element/ridable/proc/check_mounting(atom/movable/target_movable, mob/living/potential_rider, force = FALSE, ride_check_flags = NONE)
SIGNAL_HANDLER
if(HAS_TRAIT(potential_rider, TRAIT_CANT_RIDE))
return
var/arms_needed = 0
if(ride_check_flags & RIDER_NEEDS_ARMS)
arms_needed = 2