From a19ff7515444c545ae867e30ea66357d3cd733d7 Mon Sep 17 00:00:00 2001 From: Alan Tse Date: Fri, 1 Sep 2023 23:57:11 -0700 Subject: [PATCH] feat: reload ParticleLight ini on Load Settings Allows hot loading of particle lights config settings --- src/Menu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Menu.cpp b/src/Menu.cpp index 5393b0591..5045dd192 100644 --- a/src/Menu.cpp +++ b/src/Menu.cpp @@ -9,6 +9,7 @@ #include "Feature.h" #include "Features/ExtendedMaterials.h" +#include "Features/LightLimitFix/ParticleLights.h" #include "Features/ScreenSpaceShadows.h" #include "Features/WaterBlending.h" @@ -298,6 +299,7 @@ void Menu::DrawSettings() ImGui::TableNextColumn(); if (ImGui::Button("Load Settings", { -1, 0 })) { State::GetSingleton()->Load(); + ParticleLights::GetSingleton()->GetConfigs(); } ImGui::TableNextColumn();