Antique global battle language
This commit is contained in:
@@ -137,6 +137,9 @@ func get_portrait_for_speaker(speaker_name: String) -> String:
|
||||
var officer := _get_dict(officers, officer_id)
|
||||
if _normalized_speaker_name(str(officer.get("name", ""))) == normalized_speaker:
|
||||
return str(officer.get("portrait", ""))
|
||||
for alias in officer.get("aliases", []):
|
||||
if _normalized_speaker_name(str(alias)) == normalized_speaker:
|
||||
return str(officer.get("portrait", ""))
|
||||
return ""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user