mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +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:
@@ -166,7 +166,7 @@
|
||||
var/mob/living/L = target
|
||||
L.cloaked = 1
|
||||
L.mouse_opacity = 0
|
||||
L.update_icons()
|
||||
L.update_icon()
|
||||
|
||||
|
||||
/datum/modifier/cloaking_device/deactivate()
|
||||
@@ -180,7 +180,7 @@
|
||||
var/mob/living/L = target
|
||||
L.cloaked = 0
|
||||
L.mouse_opacity = 1
|
||||
L.update_icons()
|
||||
L.update_icon()
|
||||
|
||||
|
||||
/datum/modifier/cloaking_device/check_validity()
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
else
|
||||
if (M.ear_damage >= 5)
|
||||
to_chat(M, "<span class='danger'>Your ears start to ring!</span>")
|
||||
M.update_icons()
|
||||
M.update_icon()
|
||||
|
||||
/obj/item/grenade/flashbang/clusterbang//Created by Polymorph, fixed by Sieve
|
||||
name = "clusterbang"
|
||||
|
||||
@@ -207,7 +207,7 @@
|
||||
|
||||
if(!inserted || !S.amount)
|
||||
usr.remove_from_mob(S)
|
||||
usr.update_icons() //update our overlays
|
||||
usr.update_icon() //update our overlays
|
||||
if (usr.client && usr.s_active != src)
|
||||
usr.client.screen -= S
|
||||
S.dropped(usr)
|
||||
|
||||
@@ -399,7 +399,7 @@
|
||||
|
||||
/obj/item/storage/proc/handle_storage_deferred(mob/user)
|
||||
add_fingerprint(user)
|
||||
user.update_icons()
|
||||
user.update_icon()
|
||||
orient2hud(user)
|
||||
if (user.s_active)
|
||||
user.s_active.show_to(user)
|
||||
|
||||
Reference in New Issue
Block a user