Fixes superslaps (#21011)

This commit is contained in:
Luc
2023-05-11 13:51:44 -05:00
committed by GitHub
parent 04259acdbd
commit b0567b2778
+1 -6
View File
@@ -23,12 +23,7 @@
if(!isliving(user))
return
var/mob/living/L = user
if(!L.has_status_effect(STATUS_EFFECT_HIGHFIVE))
L.apply_status_effect(STATUS_EFFECT_HIGHFIVE)
L.visible_message(
"<span class='notice'[user] raises [user.p_their()] hand for a high-five!</span>",
"<span class='notice'>You raise your hand for a high-five!</span>"
)
L.emote("highfive", intentional = TRUE)
/obj/item/slapper/attack_obj(obj/O, mob/living/user, params)
if(!istype(O, /obj/structure/table))