mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
makes the character directory check to make sure the character is on the crew manifest before actually adding the character to the character directory
This commit is contained in:
@@ -15,8 +15,11 @@
|
|||||||
if(C.prefs && !C.prefs.show_in_directory)
|
if(C.prefs && !C.prefs.show_in_directory)
|
||||||
continue
|
continue
|
||||||
if(ishuman(C.mob))
|
if(ishuman(C.mob))
|
||||||
curID++
|
|
||||||
var/mob/living/carbon/human/H = C.mob
|
var/mob/living/carbon/human/H = C.mob
|
||||||
|
if(data_core && data_core.general)
|
||||||
|
if(!find_general_record("name", H.real_name))
|
||||||
|
continue
|
||||||
|
curID++
|
||||||
html += "<div class='block'>"
|
html += "<div class='block'>"
|
||||||
html += "<h3 class='uiContent highlight' style='font-size:16px'>[H.real_name]</h3><br>"
|
html += "<h3 class='uiContent highlight' style='font-size:16px'>[H.real_name]</h3><br>"
|
||||||
if(H.flavor_texts["general"])
|
if(H.flavor_texts["general"])
|
||||||
|
|||||||
Reference in New Issue
Block a user