Fixed a bug with set_language and fluxion auto.
This commit is contained in:
parent
b513f65109
commit
a88eec011b
|
@ -337,7 +337,9 @@ function set_resolution() { # Windows + Resolution
|
|||
|
||||
##################################### < Language > #####################################
|
||||
function set_language() {
|
||||
if [ ! "$FLUXIONAuto" ]; then
|
||||
if [ "$FLUXIONAuto" ]; then
|
||||
FLUXIONLanguage="en"
|
||||
else
|
||||
# Get all languages available.
|
||||
local languageCodes
|
||||
readarray -t languageCodes < <(ls -1 language | sed -E 's/\.sh//')
|
||||
|
|
Loading…
Reference in New Issue