From 3c3b56c070c86fdea8cbb8a64d0fbb7cd1cd41ad Mon Sep 17 00:00:00 2001 From: _0Steven Date: Tue, 12 Nov 2024 00:45:28 +0100 Subject: [PATCH] linguist2 --- .../languages/code/language menu/client_languages.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modular_doppler/languages/code/language menu/client_languages.dm b/modular_doppler/languages/code/language menu/client_languages.dm index 43041c7cedfe6..6872c97c4cb55 100644 --- a/modular_doppler/languages/code/language menu/client_languages.dm +++ b/modular_doppler/languages/code/language menu/client_languages.dm @@ -125,7 +125,7 @@ */ /datum/preference_middleware/languages/proc/give_language(list/params) var/language_name = params["language_name"] - var/max_languages = preferences.all_quirks.Find(TRAIT_LINGUIST) ? MAX_LANGUAGES_LINGUIST : MAX_LANGUAGES_NORMAL + var/max_languages = preferences.all_quirks.Find(/datum/quirk/linguist::name) ? MAX_LANGUAGES_LINGUIST : MAX_LANGUAGES_NORMAL if(preferences.languages && preferences.languages.len == max_languages) // too many languages return TRUE