removes unused variables (#29397)

* remove unused variables

* Update space_level.dm
This commit is contained in:
Kyani
2025-05-22 09:14:52 +00:00
committed by GitHub
parent 1254dc51bb
commit 88c949fe46
3 changed files with 2 additions and 11 deletions
+2 -6
View File
@@ -167,7 +167,6 @@ GLOBAL_LIST_INIT(cable_typecache, typecacheof(/obj/structure/cable))
throw EXCEPTION("Init told to resume when z-level still dirty. Z level: '[zpos]'")
var/list/our_atoms = init_list // OURS NOW!!! (Keeping this list to ourselves will prevent hijack)
init_list = list()
var/watch = start_watch()
listclearnulls(our_atoms)
var/list/pipes = typecache_filter_list(our_atoms, GLOB.atmos_machine_typecache)
var/list/cables = typecache_filter_list(our_atoms, GLOB.cable_typecache)
@@ -179,14 +178,11 @@ GLOBAL_LIST_INIT(cable_typecache, typecacheof(/obj/structure/cable))
do_cables(cables)
/datum/space_level/proc/do_pipes(list/pipes)
var/watch = start_watch()
var/init_count = SSair._setup_atmos_machinery(pipes)
watch = start_watch()
init_count = SSair._setup_pipenets(pipes)
SSair._setup_atmos_machinery(pipes)
SSair._setup_pipenets(pipes)
pipes.Cut()
/datum/space_level/proc/do_cables(list/cables)
var/watch = start_watch()
SSmachines.setup_template_powernets(cables)
cables.Cut()