Skip to content

Commit

Permalink
Update dye_generator.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Den109G committed Sep 12, 2024
1 parent c9ee220 commit 5c1e663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/dye_generator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@


/obj/item/hair_dye_bottle/attack(mob/living/carbon/human/target, mob/living/user, params, def_zone, skip_attack_anim = FALSE)
if(ishuman(target) || user.a_intent != INTENT_HELP || !(target in view(1)))
if(!ishuman(target) || user.a_intent != INTENT_HELP || !(target in view(1)))
return ..()

. = ATTACK_CHAIN_PROCEED
Expand Down

0 comments on commit 5c1e663

Please sign in to comment.