Require explicit acceptance in the existing game dialog and retain the accepted version in the local account profile. Verified full Quirrel compilation for .37 and .43, a temporary .43 build, and the launcher checks.
11 lines
515 B
Plaintext
11 lines
515 B
Plaintext
function loadAndProcessText(){
|
|
let shortLang = getCurLangShortName()
|
|
local langPostfix = shortLangToEulaLang?[shortLang] ?? shortLang
|
|
langPostfix = langPostfix == "" ? "" : $"_{langPostfix}"
|
|
let eulaPrefixForCircuit = getCurCircuitOverride("eulaPrefix", "")
|
|
let text = readEula(eulaPrefixForCircuit, langPostfix) ?? readEula("", langPostfix)
|
|
if (text == null)
|
|
logerr($"EulaWnd: %langTxt/{eulaPrefixForCircuit}eula{langPostfix}.txt is missing")
|
|
return text == null ? null : wordHyphenation(text)
|
|
}
|