mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-27 01:51:50 +00:00
[MIRROR] Hud screens now set hud owner in Initialize. [MDB IGNORE] (#22501)
* Hud screens now set hud owner in Initialize. * Merge conflicts * modular adjustments * Missed one * Make this easier to spot --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Giz <vinylspiders@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
var/client/client
|
||||
var/atom/movable/screen/tutorial_instruction_text/instruction_text
|
||||
|
||||
/atom/movable/screen/tutorial_instruction/Initialize(mapload, message, client/client)
|
||||
/atom/movable/screen/tutorial_instruction/Initialize(mapload, datum/hud/hud_owner, message, client/client)
|
||||
. = ..()
|
||||
|
||||
transform = transform.Scale(36, 2.5)
|
||||
@@ -18,7 +18,7 @@
|
||||
src.client = client
|
||||
animate(src, alpha = 245, time = 0.8 SECONDS, easing = SINE_EASING)
|
||||
|
||||
instruction_text = new(src, message, client)
|
||||
instruction_text = new(src, null, message, client)
|
||||
vis_contents += instruction_text
|
||||
|
||||
/atom/movable/screen/tutorial_instruction/Destroy()
|
||||
@@ -36,7 +36,7 @@
|
||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||
layer = TUTORIAL_INSTRUCTIONS_LAYER
|
||||
|
||||
/atom/movable/screen/tutorial_instruction_text/Initialize(mapload, message, client/client)
|
||||
/atom/movable/screen/tutorial_instruction_text/Initialize(mapload, datum/hud/hud_owner, message, client/client)
|
||||
. = ..()
|
||||
|
||||
var/view = client?.view_size.getView()
|
||||
|
||||
Reference in New Issue
Block a user