diff --git a/code/modules/research/xenoarchaeology/artifact_archaeo.dm b/code/modules/research/xenoarchaeology/artifact_archaeo.dm index cc03ad685d6..3a4bc2934a0 100644 --- a/code/modules/research/xenoarchaeology/artifact_archaeo.dm +++ b/code/modules/research/xenoarchaeology/artifact_archaeo.dm @@ -138,12 +138,12 @@ for(var/Xa = 1,Xa 20 + rand(10,20)) + words.Remove(words[1]) + if(!words["[lowertext(seperate[Xa])]"]) words["[lowertext(seperate[Xa])]"] = list() - var/list/w = words["[lowertext(seperate[Xa])]"] + var/list/w = words["[lowertext(seperate[Xa])]"] + if(w) w.Add("[lowertext(seperate[next])]") //world << "Adding [lowertext(seperate[next])] to [lowertext(seperate[Xa])]" @@ -167,7 +167,7 @@ if(!word) text = "[pick(words)]" else - text = pick(stringsplit(word)) + text = pick(stringsplit(word, " ")) if(lentext(text)==1) text=uppertext(text) else