diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2026-08-01 23:22:35 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-01 23:22:35 -0600 |
| commit | 33817cd1100ab560b16e19af34488de3b5a6b7eb (patch) | |
| tree | b0467609fd28b6f2ccf15e68aa713be55f8f6bbb /src/port/ui/UIWidgets.h | |
| parent | 97f28334329d50a9cf2fb7ff1ee57ae0c18de92c (diff) | |
* lus update compiles but not run
* Game runs, fix demo bug
* Switch lus to port-maintenance branch
Diffstat (limited to 'src/port/ui/UIWidgets.h')
| -rw-r--r-- | src/port/ui/UIWidgets.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/port/ui/UIWidgets.h b/src/port/ui/UIWidgets.h index 66fbc2d0e..342c421f3 100644 --- a/src/port/ui/UIWidgets.h +++ b/src/port/ui/UIWidgets.h @@ -431,7 +431,7 @@ namespace UIWidgets { int32_t value = CVarGetInteger(cvarName, options.defaultIndex); if (Combobox(label, &value, comboSource, options)) { CVarSetInteger(cvarName, value); - Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); + Ship::Context::GetRawInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); ShipInit::Init(cvarName); dirty = true; } @@ -670,7 +670,7 @@ namespace UIWidgets { int32_t value = CVarGetInteger(cvarName, options.defaultIndex); if (Combobox<T>(label, &value, comboMap, options)) { CVarSetInteger(cvarName, value); - Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); + Ship::Context::GetRawInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); dirty = true; } return dirty; @@ -682,7 +682,7 @@ namespace UIWidgets { int32_t value = CVarGetInteger(cvarName, options.defaultIndex); if (Combobox<T>(label, &value, comboVector, options)) { CVarSetInteger(cvarName, value); - Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); + Ship::Context::GetRawInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); dirty = true; } return dirty; @@ -694,7 +694,7 @@ namespace UIWidgets { int32_t value = CVarGetInteger(cvarName, options.defaultIndex); if (Combobox<T>(label, &value, comboArray, options)) { CVarSetInteger(cvarName, value); - Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); + Ship::Context::GetRawInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); dirty = true; } return dirty; |
