Skip to content

Commit

Permalink
TGS Test Merge (#6879)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinz authored and Kevinz committed Nov 20, 2024
2 parents bea3dc7 + 14893fd commit 2ec8f9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/modules/language/language.dm
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
// Language handling.
/mob/proc/add_language(var/language)

var/datum/prototype/language/new_language = RSlanguages.fetch(language)
var/datum/prototype/language/new_language = RSlanguages.fetch(language) || RSlanguages.legacy_resolve_language_name(language)

if(!istype(new_language) || (new_language in languages))
return 0
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/silicon/silicon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
silicon_mob_list |= src
. = ..()
add_language(LANGUAGE_GALCOM)
set_default_language(RSlanguages.legacy_resolve_language_name(LANGUAGE_GALCOM))
set_default_language(RSlanguages.fetch(/datum/prototype/language/common))
create_translation_context()
init_id()
init_subsystems()
Expand Down

0 comments on commit 2ec8f9d

Please sign in to comment.