[MIRROR] Removes Internals HUD element [MDB IGNORE] (#15104)

* Removes Internals HUD element

* Removes the proc calls that were no longer necessary

Co-authored-by: 13spacemen <46101244+13spacemen@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
This commit is contained in:
SkyratBot
2022-07-23 21:49:57 +02:00
committed by GitHub
parent 5124490ceb
commit 6683493eba
19 changed files with 20 additions and 93 deletions

View File

@@ -101,7 +101,6 @@ GLOBAL_LIST_INIT(available_erp_ui_styles, list(
var/atom/movable/screen/healths
var/atom/movable/screen/stamina
var/atom/movable/screen/healthdoll
var/atom/movable/screen/internals
var/atom/movable/screen/spacesuit
// subtypes can override this to force a specific UI style
var/ui_style
@@ -173,7 +172,6 @@ GLOBAL_LIST_INIT(available_erp_ui_styles, list(
healths = null
stamina = null
healthdoll = null
internals = null
spacesuit = null
blobpwrdisplay = null
alien_plasma_display = null
@@ -418,6 +416,9 @@ GLOBAL_LIST_INIT(available_erp_ui_styles, list(
listed_actions.insert_action(button)
if(SCRN_OBJ_IN_PALETTE)
palette_actions.insert_action(button)
if(SCRN_OBJ_INSERT_FIRST)
listed_actions.insert_action(button, index = 1)
position = SCRN_OBJ_IN_LIST
else // If we don't have it as a define, this is a screen_loc, and we should be floating
floating_actions += button
button.screen_loc = position