mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-30 23:10:14 -05:00
Fix rando menu sliders so they update on JSON drop (#4912)
This commit is contained in:
parent
526aad59d5
commit
8244d63719
@ -2432,6 +2432,10 @@ void SoH_ProcessDroppedFiles(std::string filePath) {
|
||||
}
|
||||
}
|
||||
|
||||
auto randoCtx = Rando::Context::GetInstance();
|
||||
randoCtx->GetSettings()->UpdateOptionProperties();
|
||||
randoCtx->GetSettings()->SetAllFromCVar();
|
||||
|
||||
auto gui = Ship::Context::GetInstance()->GetWindow()->GetGui();
|
||||
gui->GetGuiWindow("Console")->Hide();
|
||||
gui->GetGuiWindow("Actor Viewer")->Hide();
|
||||
|
Loading…
Reference in New Issue
Block a user