Skip to content

Commit

Permalink
forgor rgrinder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoonij authored Dec 15, 2024
1 parent 5cd1bbe commit f2f8db9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions code/modules/reagents/chemistry/machinery/reagentgrinder.dm
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,7 @@
return ATTACK_CHAIN_BLOCKED_ALL

/obj/machinery/reagentgrinder/AltClick(mob/living/carbon/human/human)
if(!istype(human))
return

if(!Adjacent(human))
if(!istype(human) || !human.Adjacent(src))
return

if(human.incapacitated() || HAS_TRAIT(human, TRAIT_HANDS_BLOCKED))
Expand All @@ -248,10 +245,7 @@
grind()

/obj/machinery/reagentgrinder/CtrlShiftClick(mob/living/carbon/human/human)
if(!istype(human))
return

if(!Adjacent(human))
if(!istype(human) || !human.Adjacent(src))
return

if(human.incapacitated() || HAS_TRAIT(human, TRAIT_HANDS_BLOCKED))
Expand Down

0 comments on commit f2f8db9

Please sign in to comment.