mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #11273 from VOREStation/Arokha/gasvisuals
Gas visuals use vis_contents not overlays
This commit is contained in:
committed by
Chompstation Bot
parent
241a0d528f
commit
908b64af01
@@ -6,9 +6,9 @@
|
||||
|
||||
/turf/simulated/proc/update_graphic(list/graphic_add = null, list/graphic_remove = null)
|
||||
if(LAZYLEN(graphic_add))
|
||||
add_overlay(graphic_add, priority = TRUE)
|
||||
vis_contents |= graphic_add
|
||||
if(LAZYLEN(graphic_remove))
|
||||
cut_overlay(graphic_remove, priority = TRUE)
|
||||
vis_contents -= graphic_remove
|
||||
|
||||
/turf/proc/update_air_properties()
|
||||
var/block = c_airblock(src)
|
||||
|
||||
Reference in New Issue
Block a user