[MIRROR] Now you can hold Ian in your arms (#28334)

* Now you can hold Ian in your arms (#84236)

## About The Pull Request

Previously, you couldn't pick up Ian because the clothing interface
would always open instead. Now, when you grab Ian (or any other corgi or
mob with the `can_be_held` trait) in an aggressive grip and pull him
towards you, you will take him into your hands!
## Why It's Good For The Game

...
You can hug Ian... That's enough
## Changelog
🆑
fix: you can hold Ian in your arms
/🆑

closes https://github.com/tgstation/tgstation/issues/84023

* Now you can hold Ian in your arms

---------

Co-authored-by: Kocma-san <112967882+Kocma-san@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-06-24 09:10:24 +05:30
committed by GitHub
co-authored by Kocma-san
parent 8c6dab9db8
commit 3295990dde
+5
View File
@@ -52,6 +52,11 @@
if (!isnull(should_strip_proc_path) && !call(source, should_strip_proc_path)(user))
return
if (isliving(source))
var/mob/living/mob = source
if (mob.can_be_held && (user.grab_state == GRAB_AGGRESSIVE) && (user.pulling == source))
return
var/datum/strip_menu/strip_menu = LAZYACCESS(strip_menus, source)
if (isnull(strip_menu))