Fixes #13967 AI crewmember hologram now works properly (#19389)

* AI hologram now gets id photo instead of null flaticon

* better this way

* *coughs

* updated comment
This commit is contained in:
Henri215
2022-10-17 22:50:07 +01:00
committed by GitHub
parent bb2e2a9d45
commit 2681f84a69
+2 -2
View File
@@ -987,8 +987,8 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
if("Crew Member")
var/personnel_list[] = list()
for(var/datum/data/record/t in GLOB.data_core.locked)//Look in data core locked.
personnel_list["[t.fields["name"]]: [t.fields["rank"]]"] = t.fields["image"]//Pull names, rank, and image.
for(var/datum/data/record/t in GLOB.data_core.general)//Look in data core general.
personnel_list["[t.fields["name"]]: [t.fields["rank"]]"] = t.fields["photo"]//Pull names, rank, and id photo.
if(personnel_list.len)
input = input("Select a crew member:") as null|anything in personnel_list