mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
Fixes trash grinder initialize linkage
Ironic that the thing broke because i removed a "break" haha
This commit is contained in:
@@ -18,11 +18,14 @@
|
||||
. = ..()
|
||||
for(var/dir in cardinal)
|
||||
src.crusher = locate(/obj/machinery/recycling/crusher, get_step(src, dir))
|
||||
src.button = locate(/obj/machinery/button/garbosystem, get_step(src, dir))
|
||||
if(crusher)
|
||||
if(src.crusher)
|
||||
crusher.hand_fed = FALSE
|
||||
if(button)
|
||||
break
|
||||
for(var/dir in cardinal)
|
||||
src.button = locate(/obj/machinery/button/garbosystem, get_step(src, dir))
|
||||
if(src.button)
|
||||
button.grinder = src
|
||||
break
|
||||
return
|
||||
|
||||
/obj/machinery/v_garbosystem/attack_hand(mob/living/user as mob)
|
||||
|
||||
Reference in New Issue
Block a user