mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +01:00
Grab Stripping Fix (#9099)
Attempting to strip someone while holding a grab will now properly strip them, instead of trying to put a grab on them.
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
var/stripping
|
||||
var/obj/item/held = user.get_active_hand()
|
||||
|
||||
if(!istype(held) || is_robot_module(held))
|
||||
if(!istype(held) || is_robot_module(held) || istype(held, /obj/item/grab))
|
||||
if(!istype(target_slot)) // They aren't holding anything valid and there's nothing to remove, why are we even here?
|
||||
return 0
|
||||
if(!target_slot.canremove)
|
||||
|
||||
Reference in New Issue
Block a user