Skip to content

Commit

Permalink
Update clown_items.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDratutiHyDa authored Jan 10, 2025
1 parent efffba9 commit 5151846
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/game/objects/items/weapons/clown_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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, "<span class='notice'>You need to take that [target.name] off before cleaning it.</span>")
else if(istype(target,/obj/effect/decal/cleanable))
if(!isturf(target.loc))
to_chat(user, "<span class='notice'>You need to take that [target.name] off and get some distance before cleaning it.</span>")
return
if(istype(target,/obj/effect/decal/cleanable))

Check failure on line 100 in code/game/objects/items/weapons/clown_items.dm

View workflow job for this annotation

GitHub Actions / DreamChecker

possible unreachable code here
to_chat(user, "<span class='notice'>You scrub \the [target.name] out.</span>")
qdel(target)
if(target.fingerprints)
Expand Down

0 comments on commit 5151846

Please sign in to comment.