Merge pull request #5749 from Ccomp5950/languages_fix

Added . and # prefix to language keys checks (like radios)
This commit is contained in:
Chinsky
2014-07-24 10:48:40 +04:00
+3 -1
View File
@@ -104,6 +104,8 @@ var/global/list/backbaglist = list("Nothing", "Backpack", "Satchel", "Satchel Al
for (var/language_name in all_languages)
var/datum/language/L = all_languages[language_name]
language_keys[":[lowertext(L.key)]"] = L
language_keys[".[lowertext(L.key)]"] = L
language_keys["#[lowertext(L.key)]"] = L
var/rkey = 0
paths = typesof(/datum/species)-/datum/species
@@ -128,4 +130,4 @@ var/global/list/backbaglist = list("Nothing", "Backpack", "Satchel", "Satchel Al
for(var/t in L)
. += " has: [t]\n"
world << .
*/
*/