mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-21 04:48:18 +01:00
Changes all cases of update_icons(), updateicon(), UpdateIcon() etc. to update_icon(). (#9432)
update_icons(), UpdateIcon() and updateicon() are now changed to be update_icon(). Many interactions expect a target to have an update_icon(), so they should all be the same. Also fixed some stuff that was using relative pathing, along the way.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
. = ..()
|
||||
if(.)
|
||||
action.button_icon_state = "puke"
|
||||
if(action.button) action.button.UpdateIcon()
|
||||
if(action.button) action.button.update_icon()
|
||||
|
||||
/obj/item/organ/internal/stomach/attack_self(mob/user)
|
||||
. = ..()
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
if(activable)
|
||||
action.button_icon_state = action_button_icon
|
||||
if(action.button)
|
||||
action.button.UpdateIcon()
|
||||
action.button.update_icon()
|
||||
|
||||
/obj/item/organ/internal/augment/attack_self(var/mob/user)
|
||||
. = ..()
|
||||
|
||||
@@ -255,7 +255,7 @@
|
||||
if(.)
|
||||
action.button_icon_state = "digitool"
|
||||
if(action.button)
|
||||
action.button.UpdateIcon()
|
||||
action.button.update_icon()
|
||||
|
||||
/obj/item/organ/external/hand/right/autakh/tool/attack_self(var/mob/user)
|
||||
. = ..()
|
||||
@@ -316,7 +316,7 @@
|
||||
if(.)
|
||||
action.button_icon_state = "drill"
|
||||
if(action.button)
|
||||
action.button.UpdateIcon()
|
||||
action.button.update_icon()
|
||||
|
||||
/obj/item/pickaxe/drill/integrated
|
||||
name = "integrated mining drill"
|
||||
@@ -339,7 +339,7 @@
|
||||
if(.)
|
||||
action.button_icon_state = "health"
|
||||
if(action.button)
|
||||
action.button.UpdateIcon()
|
||||
action.button.update_icon()
|
||||
|
||||
/obj/item/organ/external/hand/right/autakh/medical/attack_self(var/mob/user)
|
||||
. = ..()
|
||||
@@ -380,7 +380,7 @@
|
||||
if(.)
|
||||
action.button_icon_state = "baton"
|
||||
if(action.button)
|
||||
action.button.UpdateIcon()
|
||||
action.button.update_icon()
|
||||
|
||||
/obj/item/organ/external/hand/right/autakh/security/attack_self(var/mob/user)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user