From 5151846db3941184db93a4713b27b35fc5ce51a2 Mon Sep 17 00:00:00 2001
From: TheDratutiHyDa <118916774+TheDratutiHyDa@users.noreply.github.com>
Date: Fri, 10 Jan 2025 12:54:41 +0300
Subject: [PATCH] Update clown_items.dm
---
code/game/objects/items/weapons/clown_items.dm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/code/game/objects/items/weapons/clown_items.dm b/code/game/objects/items/weapons/clown_items.dm
index a2460521359..547864f088a 100644
--- a/code/game/objects/items/weapons/clown_items.dm
+++ b/code/game/objects/items/weapons/clown_items.dm
@@ -94,9 +94,10 @@
/obj/item/weapon/reagent_containers/food/snacks/soap/syndie/afterattack(atom/target, mob/user, proximity, params)
if(!proximity || ishuman(target)) return
- if(user.client && (target in user.client.screen))
- to_chat(user, "You need to take that [target.name] off before cleaning it.")
- else if(istype(target,/obj/effect/decal/cleanable))
+ if(!isturf(target.loc))
+ to_chat(user, "You need to take that [target.name] off and get some distance before cleaning it.")
+ return
+ if(istype(target,/obj/effect/decal/cleanable))
to_chat(user, "You scrub \the [target.name] out.")
qdel(target)
if(target.fingerprints)