mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 17:36:52 +01:00
Fixes an unguarded nullref in Fake Crew Arrival Announcement service (#22565)
fixes #22334 - bugfix: "Fake Crew Arrival Announcement uplink service now works even with an invalid employer faction."
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
record.sex = I.sex
|
||||
record.employer = I.employer_faction
|
||||
var/datum/faction/id_faction = SSjobs.name_factions[I.employer_faction]
|
||||
var/faction_abbreviation = id_faction.title_suffix
|
||||
var/faction_abbreviation = id_faction?.title_suffix
|
||||
var/assignment = "[I.assignment][ faction_abbreviation ? " ([faction_abbreviation])" : ""]"
|
||||
record.rank = assignment
|
||||
record.real_rank = assignment
|
||||
|
||||
Reference in New Issue
Block a user