mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-05 23:12:26 +00:00
Fix stripping.dm cloning (#7658)
This commit is contained in:
@@ -76,8 +76,14 @@
|
||||
if(!do_after(user,HUMAN_STRIP_DELAY,src))
|
||||
return
|
||||
|
||||
if(!stripping && user.get_active_hand() != held)
|
||||
return
|
||||
if(!stripping)
|
||||
if(user.get_active_hand() != held)
|
||||
return
|
||||
var/obj/item/weapon/holder/mobheld = held
|
||||
if(istype(mobheld)&&mobheld.held_mob==src)
|
||||
to_chat(user, "<span class='warning'>You can't put someone on themselves! Stop trying to break reality!</span>")
|
||||
return
|
||||
|
||||
|
||||
if(stripping)
|
||||
add_attack_logs(user,src,"Removed equipment from slot [target_slot]")
|
||||
|
||||
Reference in New Issue
Block a user