Skip to content

Commit

Permalink
fix: dont save vl settings to ini on flatrim (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlum authored Dec 6, 2024
1 parent aa20029 commit f927e3f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Features/VolumetricLighting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ void VolumetricLighting::DrawSettings()
void VolumetricLighting::LoadSettings(json& o_json)
{
settings = o_json;
Util::LoadGameSettings(VLSettings);
if (State::GetSingleton()->isVR)
Util::LoadGameSettings(VLSettings);
}

void VolumetricLighting::SaveSettings(json& o_json)
{
o_json = settings;
Util::SaveGameSettings(VLSettings);
if (State::GetSingleton()->isVR)
Util::SaveGameSettings(VLSettings);
}

void VolumetricLighting::RestoreDefaultSettings()
Expand Down

0 comments on commit f927e3f

Please sign in to comment.