Merge pull request #15556 from Citadel-Station-13/silicons-patch-1
fixes parallax trying to make null objects
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user