Update space.dm

This commit is contained in:
silicons
2022-03-15 10:24:46 -07:00
committed by GitHub
parent 9f0ebe17ab
commit 6f8fc5125d
+1 -1
View File
@@ -17,7 +17,7 @@
P.pixel_x = planet_offset_x
P.pixel_y = planet_offset_y
. += P
if(random_layer)
if(ispath(random_layer, /atom/movable/screen/parallax_layer))
. += new random_layer
if(ispath(random_layer, /atom/movable/screen/parallax_layer/space/random/space_gas))
var/atom/movable/screen/parallax_layer/space/random/space_gas/SG = locate(random_layer) in objects