ZAS code oversight (#14577)

This commit is contained in:
Kapu1178
2022-08-14 12:20:37 +02:00
committed by GitHub
parent 0775b40e62
commit d905eeae6f
+2 -10
View File
@@ -53,9 +53,6 @@ Class Procs:
var/datum/gas_mixture/air = new
var/list/graphic_add
var/list/graphic_remove
/zone/New()
SSair.add_zone(src)
air.temperature = TCMB
@@ -156,17 +153,12 @@ Class Procs:
if(istype(T))
T.create_fire(vsc.fire_firelevel_multiplier)
LAZYINITLIST(graphic_add)
LAZYINITLIST(graphic_remove)
var/list/graphic_add = list()
var/list/graphic_remove = list()
if(air.check_tile_graphic(graphic_add, graphic_remove))
for(var/turf/simulated/T in contents)
T.update_graphic(graphic_add, graphic_remove)
LAZYCLEARLIST(graphic_add)
LAZYCLEARLIST(graphic_remove)
UNSETEMPTY(graphic_add)
UNSETEMPTY(graphic_remove)
for(var/connection_edge/E in edges)
if(E.sleeping)
E.recheck()