Fixes MODsuit control units not updating their worn icons when activating with no parts deployed (#91068)

## About The Pull Request

``update_clothing`` by default doesn't update anything. Also fixed a
missing return in ``allow_attack_hand_drop`` that always failed the
proc.
This commit is contained in:
SmArtKar
2025-05-16 13:24:16 -05:00
committed by GitHub
parent b216f05b6f
commit f06738eff2
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -313,7 +313,10 @@
module.part_activated = FALSE
update_charge_alert()
update_appearance(UPDATE_ICON_STATE)
wearer.update_clothing()
var/updated_slots = slot_flags
for (var/slot_key in mod_parts)
updated_slots |= text2num(slot_key)
wearer.update_clothing(updated_slots)
/// Quickly deploys all the suit parts and if successful, seals them and turns on the suit. Intended mostly for outfits.
/obj/item/mod/control/proc/quick_activation()