Skip to content

Commit

Permalink
server: debug generate_code_phrase
Browse files Browse the repository at this point in the history
  • Loading branch information
Bizzonium committed Aug 6, 2024
1 parent cd75bf1 commit 380eef5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/__HELPERS/names.dm
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,12 @@ GLOBAL_DATUM(syndicate_code_response_regex, /regex)

var/names[] = list()
for(var/datum/data/record/t in GLOB.data_core.general)//Picks from crew manifest.
if (!t)
stack_trace("Null record: [t]")
continue
if (!t.fields["name"])
stack_trace("Nameless record: [t.fields]")
continue
names += t.fields["name"]

var/maxwords = words//Extra var to check for duplicates.
Expand Down

0 comments on commit 380eef5

Please sign in to comment.