Default language to system also when the configuration file is present and the language option is not.

This commit is contained in:
OBattler
2025-04-09 17:39:26 +02:00
parent 3bb7d1ff47
commit 8ac9d5d9cf

View File

@@ -185,6 +185,8 @@ load_general(void)
p = ini_section_get_string(cat, "language", NULL);
if (p != NULL)
lang_id = plat_language_code(p);
else
lang_id = 0xffff;
mouse_sensitivity = ini_section_get_double(cat, "mouse_sensitivity", 1.0);
if (mouse_sensitivity < 0.1)