[NO GBP] Quickfix for a now removed status flag (also byond issue). (#86680)

## About The Pull Request
Making the code compile. EDIT: There's an on-going BYOND issue with
datum subtypes (not atoms) in which trying to override the parent value
with null won't work. Melbert has provided me a fix for it too (from:
https://github.com/tgstation/tgstation/pull/86666/commits/d6c1dbf4fd641d160961d7964e145e93b86d672c)

## Why It's Good For The Game
Making the code compile and the CI succeed

## Changelog
.
This commit is contained in:
Ghom
2024-09-15 18:08:05 +00:00
committed by GitHub
parent 620b8b6f13
commit 97ef3ec349
3 changed files with 13 additions and 8 deletions
+10 -3
View File
@@ -37,10 +37,10 @@ Key procs
/datum/language_holder
/// Lazyassoclist of all understood languages
var/list/understood_languages = list(/datum/language/common = list(LANGUAGE_ATOM))
var/list/understood_languages
/// Lazyassoclist of languages that can be spoken.
/// Tongue organ may also set limits beyond this list.
var/list/spoken_languages = list(/datum/language/common = list(LANGUAGE_ATOM))
var/list/spoken_languages
/// Lazyassoclist of blocked languages.
/// Used to prevent understanding and speaking certain languages, ie for certain mobs, mutations etc.
var/list/blocked_languages
@@ -503,14 +503,21 @@ GLOBAL_LIST_INIT(prototype_language_holders, init_language_holder_prototypes())
/datum/language/nekomimetic = list(LANGUAGE_ATOM),
)
// Given to atoms by default
/datum/language_holder/atom_basic
understood_languages = list(/datum/language/common = list(LANGUAGE_ATOM))
spoken_languages = list(/datum/language/common = list(LANGUAGE_ATOM))
// Explicitly empty one for readability
/datum/language_holder/empty
understood_languages = null
spoken_languages = null
// Has all the languages known (via "mind")
/datum/language_holder/universal
understood_languages = null
spoken_languages = null
/datum/language_holder/universal/New()
. = ..()
grant_all_languages()
grant_all_languages(source = LANGUAGE_MIND)