mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-02 06:46:34 +01:00
Actually accommodates for weird flags. For real this time.
This commit is contained in:
parent
57555453b8
commit
9252776dad
2 changed files with 5 additions and 3 deletions
|
@ -981,13 +981,14 @@ screen preferences():
|
|||
draggable True
|
||||
xsize 320
|
||||
ysize 250
|
||||
if len(languages)>5:
|
||||
if len(languages)>4:
|
||||
scrollbars "vertical"
|
||||
for lang in languages:
|
||||
fixed:
|
||||
xsize 400
|
||||
ysize 60
|
||||
hbox:
|
||||
spacing 10
|
||||
textbutton lang["name"]:
|
||||
activate_sound "audio/ui/uiRollover.wav"
|
||||
action If(lang["value"] in persistent.seenWarning or lang["value"] == None,
|
||||
|
|
|
@ -95,7 +95,7 @@ screen lang_sel:
|
|||
for i in range(maxItems):
|
||||
fixed:
|
||||
xsize 400
|
||||
ysize 250
|
||||
ysize 300
|
||||
vbox:
|
||||
if i<len(languages):
|
||||
text languages[i]["name"] at top
|
||||
|
@ -112,3 +112,4 @@ screen lang_sel:
|
|||
else:
|
||||
# Renpy seethes if a vpgrid doesn't have the exact maximum amount of items for some reason.
|
||||
add Null(0,0)
|
||||
at truecenter
|
Loading…
Reference in a new issue