Skip to content

Commit

Permalink
language bugfixes (#6879)
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons authored Nov 23, 2024
1 parent 51a4ec9 commit 6147dfe
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 6147dfe

Please sign in to comment.