diff --git a/code/_onclick/hud/action.dm b/code/_onclick/hud/action.dm index f91f9e1e266a42..df88cf950d48d0 100644 --- a/code/_onclick/hud/action.dm +++ b/code/_onclick/hud/action.dm @@ -165,6 +165,15 @@ UpdateIcon() usr.update_action_buttons() + +/obj/screen/movable/action_button/hide_toggle/proc/InitialiseIcon(var/mob/living/user) + if(isalien(user)) + icon_state = "bg_alien" + else + icon_state = "bg_default" + UpdateIcon() + return + /obj/screen/movable/action_button/hide_toggle/UpdateIcon() overlays.Cut() var/image/img = image(icon,src,hidden?"show":"hide") diff --git a/code/modules/mob/living/life.dm b/code/modules/mob/living/life.dm index 3e996ed1ae09e6..af02c55f543060 100644 --- a/code/modules/mob/living/life.dm +++ b/code/modules/mob/living/life.dm @@ -252,7 +252,7 @@ if(button_number > 0) if(!hud_used.hide_actions_toggle) hud_used.hide_actions_toggle = new(hud_used) - hud_used.hide_actions_toggle.UpdateIcon() + hud_used.hide_actions_toggle.InitialiseIcon(src) if(!hud_used.hide_actions_toggle.moved) hud_used.hide_actions_toggle.screen_loc = hud_used.ButtonNumberToScreenCoords(button_number+1) //hud_used.SetButtonCoords(hud_used.hide_actions_toggle,button_number+1) diff --git a/icons/mob/actions.dmi b/icons/mob/actions.dmi index d7034b07271e76..fadb3a80594018 100644 Binary files a/icons/mob/actions.dmi and b/icons/mob/actions.dmi differ