Skip to content

Commit

Permalink
review1
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed May 28, 2024
1 parent 4a05170 commit a9a287d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/mob/living/carbon/human/human_stripping.dm
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ GLOBAL_LIST_INIT(strippable_human_items, create_strippable_list(list(

var/obj/item/clothing/accessory/accessory = uniform.pick_accessory_to_remove(user, sourcemob)

if(!accessory)
return

sourcemob.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has had their accessory ([accessory]) removed by [key_name(user)]</font>")
user.attack_log += text("\[[time_stamp()]\] <font color='red'>Attempted to remove [key_name(sourcemob)]'s' accessory ([accessory])</font>")
if(istype(accessory, /obj/item/clothing/accessory/holobadge) || istype(accessory, /obj/item/clothing/accessory/medal))
Expand Down

0 comments on commit a9a287d

Please sign in to comment.