mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-06-02 02:18:45 +02:00
Fix WUPSConfigItemMultipleValues::CreateFromValue
This commit is contained in:
parent
2262844544
commit
e02376e5a1
|
@ -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