Fix openspace redering of under-objects that have no main icon (only over/underlays)

In particular stops manifolds from getting the openspace "map" icon state as its main icon instead of null.
This commit is contained in:
Leshana
2020-04-06 16:10:07 -04:00
parent 5bf15efcbc
commit c6b970079c

View File

@@ -96,6 +96,8 @@
if(O.invisibility) continue // Ignore objects that have any form of invisibility
if(O.loc != below) continue // Ignore multi-turf objects not directly below
var/image/temp2 = image(O, dir = O.dir, layer = O.layer)
if(temp2.icon == null)
temp2.icon_state = null
temp2.plane = src.plane
temp2.color = O.color
temp2.overlays += O.overlays