Fixes borg hand interactions with force-buckled mobs (#8345)

This commit is contained in:
Verkister
2024-05-06 03:12:33 +03:00
committed by GitHub
parent 4f4a9eb09f
commit f8b9bae86a

View File

@@ -84,7 +84,7 @@
return
/mob/living/silicon/robot/attack_hand(mob/user as mob)
if(LAZYLEN(buckled_mobs))
if(LAZYLEN(buckled_mobs) && riding_datum) //CHOMPEdit
//We're getting off!
if(user in buckled_mobs)
riding_datum.force_dismount(user)