mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
Bump appended number for option lists
This commit is contained in:
1 parent
2d4619f2cf
commit
7ee4d7da96
1 file changed
+2
-2
@@ -198,7 +198,7 @@ public static class ModdedOptionsManager
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Func<int, string> configName = optionList.ConfigName ?? (i => property.Name + i);
|
Func<int, string> configName = optionList.ConfigName ?? (i => property.Name + (i + 1));
|
||||||
|
|
||||||
for (int i = 0; i < optionList.Count; i++)
|
for (int i = 0; i < optionList.Count; i++)
|
||||||
{
|
{
|
||||||
@@ -279,7 +279,7 @@ public static class ModdedOptionsManager
|
|||||||
option.Visible = () => visibilityFunc(i);
|
option.Visible = () => visibilityFunc(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
RegisterOption(option, group, property.Name + i, pluginInfo);
|
RegisterOption(option, group, property.Name + (i + 1), pluginInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user