mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 12:02:31 +01:00
Ports Hover Overlays (#8870)
* HUD Overlay * finishes up the port * fixes
This commit is contained in:
@@ -1056,6 +1056,11 @@ There are several things that need to be remembered:
|
||||
if(hud_used)
|
||||
hud_used.hidden_inventory_update() //Updates the screenloc of the items on the 'other' inventory bar
|
||||
|
||||
//update whether handcuffs appears on our hud.
|
||||
/mob/living/carbon/proc/update_hud_handcuffed()
|
||||
if(hud_used && hud_used.l_hand_hud_object && hud_used.r_hand_hud_object)
|
||||
hud_used.l_hand_hud_object.update_icon()
|
||||
hud_used.r_hand_hud_object.update_icon()
|
||||
|
||||
/mob/living/carbon/human/update_inv_handcuffed(var/update_icons=1)
|
||||
if (QDELING(src))
|
||||
@@ -1077,6 +1082,7 @@ There are several things that need to be remembered:
|
||||
else
|
||||
overlays_raw[HANDCUFF_LAYER] = null
|
||||
|
||||
update_hud_handcuffed()
|
||||
if(update_icons)
|
||||
update_icons()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user