[MIRROR] Made screentips appear on a higher layer than action buttons. [MDB IGNORE] (#12747)

* Made screentips appear on a higher layer than action buttons.

* Update layers.dm

Co-authored-by: Alex Pynnonen <alexpynnonen01@gmail.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-04-16 17:44:46 +02:00
committed by GitHub
parent 633866b868
commit 8ab93cece2
2 changed files with 4 additions and 0 deletions

View File

@@ -210,6 +210,9 @@
#define SKYRAT_LOGO 9999
//SKYRAT EDIT: Lobby Cam
///Layer for screentips
#define SCREENTIP_LAYER 4
#define LOBBY_BACKGROUND_LAYER 3
#define LOBBY_BUTTON_LAYER 4

View File

@@ -6,6 +6,7 @@
maptext_height = 480
maptext_width = 480
maptext = ""
layer = SCREENTIP_LAYER //Added to make screentips appear above action buttons (and other /atom/movable/screen objects)
/atom/movable/screen/screentip/Initialize(mapload, _hud)
. = ..()