mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
fix dropdown option
This was SVN commit r17719.
This commit is contained in:
parent
30d0bcd350
commit
c46e64c4d2
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ function setupControl(option, i, category, revert)
|
|||
{
|
||||
case "config":
|
||||
key = option.parameters.config;
|
||||
let val = Engine.ConfigDB_GetValue("user", key);
|
||||
let val = +Engine.ConfigDB_GetValue("user", key);
|
||||
if (key === "materialmgr.quality")
|
||||
val = val > 5 ? 2 : val > 2 ? 1 : 0;
|
||||
control.selected = val;
|
||||
|
|
|
|||
Loading…
Reference in a new issue