mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-03 05:51:56 +00:00
Cameranet sorting fixes (#2188)
changes: The cameranet is now actually sorted like it's supposed to be. Whoops. The obfuscations list on turfs is now only created when it is actually needed, instead of every turf in the game having the list created from the start. Visualnet update buffers now use timers instead of spawn. Fixes #2186.
This commit is contained in:
@@ -74,6 +74,10 @@
|
||||
makepowernets()
|
||||
powernet_update_queued = FALSE
|
||||
|
||||
if (cameranet.cameras_unsorted)
|
||||
sortTim(cameranet.cameras, /proc/cmp_camera)
|
||||
cameranet.cameras_unsorted = FALSE
|
||||
|
||||
var/list/curr_machinery = src.processing_machinery
|
||||
var/list/curr_powersinks = src.processing_powersinks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user