diff --git a/code/modules/halo/clothing/armor_repair/clothing.dm b/code/modules/halo/clothing/armor_repair/clothing.dm index 33d3a6e5a53b7..3b62f0eed03d1 100644 --- a/code/modules/halo/clothing/armor_repair/clothing.dm +++ b/code/modules/halo/clothing/armor_repair/clothing.dm @@ -21,18 +21,17 @@ var/new_thickness = round(armor_thickness - min(damage,thickness_dam_cap)) new_thickness = max(0, new_thickness) - armor_thickness = new_thickness - update_damage_description() var/mob/user = src.loc if(istype(user)) - if(new_thickness == 0) - to_chat(user, "Your [name]'s armor plating is [damage_type == BURN ? "melted away" : "destroyed"]! ") - playsound(user, armor_break_sound, 70, 1) + if(world.time > next_warning_time) + if(new_thickness == 0) + to_chat(user, "Your [name]'s armor plating is [damage_type == BURN ? "melted away" : "destroyed"]! ") + playsound(user, armor_break_sound, 70, 1) - else if(istype(user) && world.time >= next_warning_time) + else if(istype(user)) + to_chat(user, "Your [name]'s armor plating is [damage_type == BURN ? "scorched" : "damaged"]! ") next_warning_time = world.time + WARNING_DELAY - to_chat(user, "Your [name]'s armor plating is [damage_type == BURN ? "scorched" : "damaged"]! ") /obj/item/clothing/proc/update_damage_description(var/damage_type = BRUTE) var/desc_addition_to_apply = "Its armor plating is nominal."