Cleans up update_icons, makes the update_icon_updates_onmob element bespoke, updates CODEOWNERS (#69179)

* I just realised this is all one commit.

* hail marry

* fix.

* FIXES IT FOR REAL

* Update code/datums/elements/update_icon_updates_onmob.dm
This commit is contained in:
Kapu1178
2022-08-16 13:50:21 -04:00
committed by GitHub
parent 55489800ce
commit 2eccf3cea0
92 changed files with 380 additions and 352 deletions
+1 -1
View File
@@ -272,7 +272,7 @@
human.overlays_standing[SHOES_LAYER] = bloody_feet
human.apply_overlay(SHOES_LAYER)
else
human.update_inv_shoes()
human.update_worn_shoes()
/datum/component/bloodysoles/feet/add_parent_to_footprint(obj/effect/decal/cleanable/blood/footprints/FP)
if(!ishuman(wielder))
+2 -2
View File
@@ -244,9 +244,9 @@
if(istype(user)) // tk showed that we might not have a mob here
if(user.get_item_by_slot(ITEM_SLOT_BACK) == parent)
user.update_inv_back()
user.update_worn_back()
else
user.update_inv_hands()
user.update_held_items()
// if the item requires two handed drop the item on unwield
if(require_twohands && can_drop)