mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-13 08:56:49 +01:00
Refinery Fixes
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
var/area/A = get_area(src)
|
||||
var/best_distance = INFINITY
|
||||
for(var/obj/machinery/mineral/processing_unit/checked_machine in SSmachinery.all_machines)
|
||||
if(A == get_area(checked_machine) && get_dist_euclidian(checked_machine, src) < best_distance)
|
||||
if(!checked_machine.console && A == get_area(checked_machine) && get_dist_euclidian(checked_machine, src) < best_distance)
|
||||
machine = checked_machine
|
||||
best_distance = get_dist_euclidian(checked_machine, src)
|
||||
if(machine)
|
||||
|
||||
Reference in New Issue
Block a user