Skip to content

Commit 9443586

Browse files
committed
Minor update Spawner.Config.cpp
1 parent 0e2accb commit 9443586

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/Spawner/Spawner.Config.cpp

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,16 @@ void SpawnerConfig::LoadFromINIFile(CCINIClass* pINI)
104104
}
105105

106106
// Extended Options
107-
Ra2Mode = pINI->ReadBool(pSettingsSection, "Ra2Mode", Ra2Mode);
108-
QuickMatch = pINI->ReadBool(pSettingsSection, "QuickMatch", QuickMatch);
109-
SkipScoreScreen = pINI->ReadBool(pSettingsSection, "SkipScoreScreen", SkipScoreScreen);
110-
WriteStatistics = pINI->ReadBool(pSettingsSection, "WriteStatistics", WriteStatistics);
111-
AINamesByDifficulty = pINI->ReadBool(pSettingsSection, "AINamesByDifficulty", AINamesByDifficulty);
112-
ContinueWithoutHumans = pINI->ReadBool(pSettingsSection, "ContinueWithoutHumans", ContinueWithoutHumans);
113-
DefeatedBecomesObserver = pINI->ReadBool(pSettingsSection, "DefeatedBecomesObserver", DefeatedBecomesObserver);
114-
Observer_ShowAIOnSidebar = pINI->ReadBool(pSettingsSection, "Observer.ShowAIOnSidebar", Observer_ShowAIOnSidebar);
107+
{
108+
Ra2Mode = pINI->ReadBool(pSettingsSection, "Ra2Mode", Ra2Mode);
109+
QuickMatch = pINI->ReadBool(pSettingsSection, "QuickMatch", QuickMatch);
110+
SkipScoreScreen = pINI->ReadBool(pSettingsSection, "SkipScoreScreen", SkipScoreScreen);
111+
WriteStatistics = pINI->ReadBool(pSettingsSection, "WriteStatistics", WriteStatistics);
112+
AINamesByDifficulty = pINI->ReadBool(pSettingsSection, "AINamesByDifficulty", AINamesByDifficulty);
113+
ContinueWithoutHumans = pINI->ReadBool(pSettingsSection, "ContinueWithoutHumans", ContinueWithoutHumans);
114+
DefeatedBecomesObserver = pINI->ReadBool(pSettingsSection, "DefeatedBecomesObserver", DefeatedBecomesObserver);
115+
Observer_ShowAIOnSidebar = pINI->ReadBool(pSettingsSection, "Observer.ShowAIOnSidebar", Observer_ShowAIOnSidebar);
116+
}
115117
}
116118

117119
const char* PlayerSectionArray[8] = {

0 commit comments

Comments
 (0)