mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes runtime that bluescreens char directory
Fixes a humanmob with no flavor text breaking char directory for everyone.
This commit is contained in:
@@ -68,7 +68,8 @@ GLOBAL_DATUM(character_directory, /datum/character_directory)
|
|||||||
name = strangername
|
name = strangername
|
||||||
species = "[H.custom_species ? H.custom_species : H.species.name]"
|
species = "[H.custom_species ? H.custom_species : H.species.name]"
|
||||||
ooc_notes = H.ooc_notes
|
ooc_notes = H.ooc_notes
|
||||||
flavor_text = H.flavor_texts["general"]
|
if(LAZYLEN(H.flavor_texts))
|
||||||
|
flavor_text = H.flavor_texts["general"]
|
||||||
|
|
||||||
if(isAI(C.mob))
|
if(isAI(C.mob))
|
||||||
var/mob/living/silicon/ai/A = C.mob
|
var/mob/living/silicon/ai/A = C.mob
|
||||||
|
|||||||
Reference in New Issue
Block a user