mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-15 23:35:15 +01:00
Fix WUPSConfigItemMultipleValues::CreateFromValue
This commit is contained in:
parent
c3f5bd8d7b
commit
284713c9f6
@ -62,10 +62,10 @@ std::optional<WUPSConfigItemMultipleValues> WUPSConfigItemMultipleValues::Create
|
||||
if (defaultIndex != -1 && currentValueIndex != -1) {
|
||||
break;
|
||||
}
|
||||
if (cur.value == defaultValue) {
|
||||
if (cur.value == currentValue) {
|
||||
currentValueIndex = i;
|
||||
}
|
||||
if (cur.value == currentValue) {
|
||||
if (cur.value == defaultValue) {
|
||||
defaultIndex = i;
|
||||
}
|
||||
i++;
|
||||
|
Loading…
Reference in New Issue
Block a user