Skip to content

Commit

Permalink
linguist2
Browse files Browse the repository at this point in the history
  • Loading branch information
00-Steven committed Nov 11, 2024
1 parent 546ccaa commit 3c3b56c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c3b56c

Please sign in to comment.