mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Space spaced through open space looks like space (#7018)
* Space spaced through open space looks like space * Unnecessary update_icon
This commit is contained in:
@@ -82,8 +82,13 @@
|
|||||||
/turf/simulated/open/update_icon()
|
/turf/simulated/open/update_icon()
|
||||||
cut_overlays() // Edit - Overlays are being crashy when modified.
|
cut_overlays() // Edit - Overlays are being crashy when modified.
|
||||||
update_icon_edge()// Add - Get grass into open spaces and whatnot.
|
update_icon_edge()// Add - Get grass into open spaces and whatnot.
|
||||||
var/turf/below = GetBelow(src)
|
|
||||||
if(below)
|
if(below)
|
||||||
|
// Skybox lives on its own plane, if we don't set it to see that, then open space tiles over true space tiles see white nothingness below
|
||||||
|
if(is_space())
|
||||||
|
plane = SPACE_PLANE
|
||||||
|
else
|
||||||
|
plane = OPENSPACE_PLANE + src.z
|
||||||
|
|
||||||
var/below_is_open = isopenspace(below)
|
var/below_is_open = isopenspace(below)
|
||||||
|
|
||||||
if(below_is_open)
|
if(below_is_open)
|
||||||
|
|||||||
Reference in New Issue
Block a user