mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
Rumble and check tracker fixes (#2419)
* Fix rumble * Fix check tracker crash
This commit is contained in:
parent
544460d909
commit
44f963e310
3 changed files with 19 additions and 18 deletions
|
@ -115,9 +115,10 @@ void DrawCheckTracker(bool& open) {
|
|||
|
||||
ImGui::SetNextWindowSize(ImVec2(400, 540), ImGuiCond_FirstUseEver);
|
||||
|
||||
if (doInitialize)
|
||||
if (doInitialize) {
|
||||
Teardown();
|
||||
InitializeChecks();
|
||||
else if (initialized && (gPlayState == nullptr || gSaveContext.fileNum < 0 || gSaveContext.fileNum > 2)) {
|
||||
} else if (initialized && (gPlayState == nullptr || gSaveContext.fileNum < 0 || gSaveContext.fileNum > 2)) {
|
||||
Teardown();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue