mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
removes unused variables (#29397)
* remove unused variables * Update space_level.dm
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user