Skip to content

Commit f087eff

Browse files
Fixed RebuildMLO bug
- RebuildMLO wasn't updating the internal state when setting the .ini option to "0"
1 parent dfccb27 commit f087eff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ShinRyuModManager-CE/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ internal static List<ModInfo> PreRun() {
252252

253253
_iniData.Sections["Overrides"]["RebuildMLO"] = "0";
254254
IniParser.WriteFile(Constants.INI, _iniData);
255+
RebuildMlo = false;
255256
}
256257
}
257258

@@ -302,6 +303,7 @@ internal static List<ModInfo> PreRun() {
302303

303304
_iniData.Sections["Overrides"]["RebuildMLO"] = "0";
304305
IniParser.WriteFile(Constants.INI, _iniData);
306+
RebuildMlo = false;
305307

306308
return mods;
307309
}

0 commit comments

Comments
 (0)