Skip to content

Commit

Permalink
Reintroduce explicit Subsystem savings, only for the newly created in…
Browse files Browse the repository at this point in the history
…i files this time
  • Loading branch information
LupertEverett committed Feb 4, 2024
1 parent b9be7c9 commit ef423f1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions SurrealEngine/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@ void Engine::Run()

window->UnlockCursor();

if (packages->MissingSESystemIni())
{
// Add the missing Subsystem entries
client->SaveConfig();
audiodev->SaveConfig();
renderdev->SaveConfig();
}
packages->SetIniValue("System", "Engine.SurrealWindowSystem", "WindowSystem", windowingSystemName);
packages->SaveAllIniFiles();

Expand Down

0 comments on commit ef423f1

Please sign in to comment.