Skip to content

Commit f64885b

Browse files
authored
AI Hologram Fix (#19732)
* Fixed AI hologram loadout characters being nude. This fix worked on my local, but I'm not so sure about live, so I'm requesting a test merge on this one.
1 parent 5e69bf5 commit f64885b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

code/modules/mob/living/silicon/ai/ai.dm

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,8 +680,11 @@ var/list/ai_verbs_default = list(
680680
else
681681
to_chat(src, SPAN_WARNING("You do not have a custom sprite!"))
682682
if("loadout character")
683-
var/mob/living/carbon/human/H = SSmobs.get_mannequin(usr.client.ckey)
684-
holo_icon.appearance = H.appearance
683+
var/client/client = usr.client
684+
client.prefs.update_mannequin()
685+
686+
var/mob/living/carbon/human/loadout_mob = SSmobs.get_mannequin(usr.client.ckey)
687+
holo_icon.appearance = loadout_mob.appearance
685688
else
686689
set_hologram_unique(icon('icons/mob/AI.dmi', input))
687690

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
author: Geeves
2+
3+
delete-after: True
4+
5+
changes:
6+
- bugfix: "Fixed AI hologram loadout characters being nude."

0 commit comments

Comments
 (0)