mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[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:
co-authored by
LemonInTheDark
lessthanthree
lessthnthree
parent
10358e3bf4
commit
97d3bfa31a
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user