mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
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:
@@ -96,6 +96,8 @@
|
|||||||
if(O.invisibility) continue // Ignore objects that have any form of invisibility
|
if(O.invisibility) continue // Ignore objects that have any form of invisibility
|
||||||
if(O.loc != below) continue // Ignore multi-turf objects not directly below
|
if(O.loc != below) continue // Ignore multi-turf objects not directly below
|
||||||
var/image/temp2 = image(O, dir = O.dir, layer = O.layer)
|
var/image/temp2 = image(O, dir = O.dir, layer = O.layer)
|
||||||
|
if(temp2.icon == null)
|
||||||
|
temp2.icon_state = null
|
||||||
temp2.plane = src.plane
|
temp2.plane = src.plane
|
||||||
temp2.color = O.color
|
temp2.color = O.color
|
||||||
temp2.overlays += O.overlays
|
temp2.overlays += O.overlays
|
||||||
|
|||||||
Reference in New Issue
Block a user