mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-01-22 17:26:20 +01:00
change languaged_up to be set inside the lang_sel screen
This commit is contained in:
parent
ca7406d0d9
commit
934a0dc72a
2 changed files with 4 additions and 4 deletions
|
@ -58,10 +58,10 @@ label before_main_menu:
|
||||||
$ preferences.language = 'en'
|
$ preferences.language = 'en'
|
||||||
|
|
||||||
# Call initial language setup screen
|
# Call initial language setup screen
|
||||||
|
# languaged_up is set within lang_sel
|
||||||
if (persistent.languaged_up is None):
|
if (persistent.languaged_up is None):
|
||||||
$ preferences.set_volume('ui', config.default_sfx_volume)
|
$ preferences.set_volume('ui', config.default_sfx_volume) # stank fucking workaround to fix a bug
|
||||||
call screen lang_sel
|
call screen lang_sel
|
||||||
$ persistent.languaged_up = True
|
|
||||||
return
|
return
|
||||||
|
|
||||||
label start:
|
label start:
|
||||||
|
|
|
@ -135,9 +135,9 @@ screen lang_sel():
|
||||||
idle darkie(languages[i]["image"])
|
idle darkie(languages[i]["image"])
|
||||||
hover glowie(languages[i]["image"])
|
hover glowie(languages[i]["image"])
|
||||||
action If(languages[i]["value"] in persistent.seenWarning or languages[i]["value"] == 'en',
|
action If(languages[i]["value"] in persistent.seenWarning or languages[i]["value"] == 'en',
|
||||||
true = [Language(languages[i]["value"]), Return()],
|
true = [Language(languages[i]["value"]), SetVariable("persistent.languaged_up", True), Return()],
|
||||||
# Important to change the language before calling notice. Otherwise it will be in english.
|
# Important to change the language before calling notice. Otherwise it will be in english.
|
||||||
false = [Language(languages[i]["value"]), AddToSet(set=persistent.seenWarning, value=languages[i]["value"]), Show(screen="OkPrompt", message=notice, go_menu=False)]
|
false = [Language(languages[i]["value"]), AddToSet(set=persistent.seenWarning, value=languages[i]["value"]), SetVariable("persistent.languaged_up", True), Show(screen="OkPrompt", message=notice, go_menu=False)]
|
||||||
)
|
)
|
||||||
at renpysdumb # Scales the imagebutton down. No, you can't just specify the zoom here. It has to be a defined transform.
|
at renpysdumb # Scales the imagebutton down. No, you can't just specify the zoom here. It has to be a defined transform.
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue