mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
Fix rando menu sliders so they update on JSON drop (#4912)
This commit is contained in:
parent
526aad59d5
commit
8244d63719
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue