fixes being unable to clean stuff with soap while targeting the mouth (#20880)

This commit is contained in:
GDN
2023-04-22 09:45:05 +02:00
committed by GitHub
parent de1a8a6670
commit 2907806b6a
+1 -1
View File
@@ -22,7 +22,7 @@
/obj/item/soap/afterattack(atom/target, mob/user, proximity)
if(!proximity)
return
if(user.zone_selected == "mouth") // cleaning out someone's mouth is a different act
if(user.zone_selected == "mouth" && ishuman(target)) // cleaning out someone's mouth is a different act
return
if(target == user && user.a_intent == INTENT_GRAB && ishuman(target))
var/mob/living/carbon/human/muncher = user