mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Removes a redundant var from a few machines (#21424)
* changes to vars * map edits * Empty commit * Update code/modules/mining/machine_processing.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Update code/modules/mining/machine_processing.dm Co-authored-by: warriorstar-orion <orion@snowfrost.garden> * le changes * error --------- Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: warriorstar-orion <orion@snowfrost.garden>
This commit is contained in:
co-authored by
Luc
warriorstar-orion
parent
b7b055927e
commit
1459795807
@@ -8,15 +8,15 @@
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
var/obj/machinery/mineral/stacking_machine/machine
|
||||
var/machinedir = SOUTHEAST
|
||||
|
||||
/obj/machinery/mineral/stacking_unit_console/Initialize(mapload)
|
||||
. = ..()
|
||||
machine = locate(/obj/machinery/mineral/stacking_machine, get_step(src, machinedir))
|
||||
if(machine)
|
||||
for(var/obj/machinery/mineral/stacking_machine/found_machine in range(1, src))
|
||||
machine = found_machine
|
||||
machine.console = src
|
||||
else
|
||||
return INITIALIZE_HINT_QDEL
|
||||
return
|
||||
|
||||
CRASH("[src] failed to link to a stacking machine!")
|
||||
|
||||
/obj/machinery/mineral/stacking_unit_console/Destroy()
|
||||
if(machine)
|
||||
|
||||
Reference in New Issue
Block a user