Skip to content

Commit

Permalink
fixing AI not fully appraising equip sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
xDanilcusx committed Sep 9, 2024
1 parent 7dfe97f commit 78425b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/mob/living/carbon/human/ai/ai_equipment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@
spawn_rebel_rifle(new_human)

new_human.equip_to_slot_or_del(new /obj/item/device/radio/headset/distress/CLF(new_human), WEAR_L_EAR)

/datum/equipment_preset/clf/soldier/ai/load_preset(mob/living/carbon/human/new_human, randomise, count_participant, client/mob_client, show_job_gear)
. = ..()
if(new_human.ai_brain)
new_human.ai_brain.appraise_inventory()

0 comments on commit 78425b0

Please sign in to comment.