Merge pull request #11394 from Citadel-Station-13/Ghommie-patch-3

Actually fixing that one overlay.
This commit is contained in:
kevinz000
2020-03-10 05:57:18 -07:00
committed by GitHub
+2 -2
View File
@@ -230,7 +230,7 @@ GLOBAL_LIST_EMPTY(PDAs)
var/mutable_appearance/overlay = mutable_appearance(icon, screen_state)
overlay.pixel_x = overlays_x_offset
overlay.pixel_y = overlays_y_offset
. += overlay
. += new /mutable_appearance(overlay)
if(id)
overlay.icon_state = current_overlays[PDA_OVERLAY_ID]
. += new /mutable_appearance(overlay)
@@ -242,7 +242,7 @@ GLOBAL_LIST_EMPTY(PDAs)
. += new /mutable_appearance(overlay)
if(pai)
overlay.icon_state = "[current_overlays[PDA_OVERLAY_PAI]][pai.pai ? "" : "_off"]"
. += new /mutable_appearance(overlay)
. += overlay
new_overlays = FALSE
new_alert = FALSE