Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit c043810

Browse files
committed
Hopefully fix stupid edge case where Reader fails to open Settings.ini after creating it because path ends up being Mods/Userdata/ (followup to 4cf0299)
1 parent 0156234 commit c043810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Managers/SettingsMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ namespace RTE {
8585

8686
m_SettingsNeedOverwrite = true;
8787

88-
Reader newSettingsReader(m_SettingsPath);
88+
Reader newSettingsReader(m_SettingsPath, false, nullptr, false, true);
8989
return Serializable::Create(newSettingsReader);
9090
}
9191
return Serializable::Create(settingsReader);

0 commit comments

Comments
 (0)