[MIRROR] Fixes solar tracker issues, and multiz emissives [MDB IGNORE] (#19258)

* Fixes solar tracker issues, and multiz emissives

* solar/tracker

---------

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
Co-authored-by: lessthnthree <three@lessthanthree.dk>
This commit is contained in:
SkyratBot
2023-02-12 22:19:53 -08:00
committed by GitHub
co-authored by LemonInTheDark lessthanthree lessthnthree
parent 10358e3bf4
commit 97d3bfa31a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@
blocks_emissive = EMISSIVE_BLOCK_UNIQUE
/obj/machinery/power/solar/proc/add_panel_overlay(icon_state, z_offset)
var/obj/effect/overlay/solar_panel/overlay = new()
var/obj/effect/overlay/solar_panel/overlay = new(src)
overlay.icon_state = icon_state
SET_PLANE_EXPLICIT(overlay, ABOVE_GAME_PLANE, src)
overlay.pixel_z = z_offset
+1 -1
View File
@@ -50,7 +50,7 @@
layer = FLY_LAYER
/obj/machinery/power/tracker/proc/add_panel_overlay(icon_state, z_offset)
var/obj/effect/overlay/overlay = new()
var/obj/effect/overlay/tracker/overlay = new(src)
overlay.icon_state = icon_state
SET_PLANE_EXPLICIT(overlay, ABOVE_GAME_PLANE, src)
overlay.pixel_z = z_offset