Actually accommodates for weird flags. For real this time.

This commit is contained in:
GManon 2022-11-28 19:12:54 -03:00
parent 57555453b8
commit 9252776dad
2 changed files with 5 additions and 3 deletions

View file

@ -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,

View file

@ -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