mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +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)
|
for(var/dir in cardinal)
|
||||||
src.crusher = locate(/obj/machinery/recycling/crusher, get_step(src, dir))
|
src.crusher = locate(/obj/machinery/recycling/crusher, get_step(src, dir))
|
||||||
src.button = locate(/obj/machinery/button/garbosystem, get_step(src, dir))
|
if(src.crusher)
|
||||||
if(crusher)
|
|
||||||
crusher.hand_fed = FALSE
|
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
|
button.grinder = src
|
||||||
|
break
|
||||||
return
|
return
|
||||||
|
|
||||||
/obj/machinery/v_garbosystem/attack_hand(mob/living/user as mob)
|
/obj/machinery/v_garbosystem/attack_hand(mob/living/user as mob)
|
||||||
|
|||||||
Reference in New Issue
Block a user