summaryrefslogtreecommitdiff
path: root/mm/2s2h/DeveloperTools/EventLog.cpp
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2025-02-04 10:10:11 -0600
committerGarrett Cox <garrettjcox@gmail.com>2025-02-04 10:38:40 -0600
commit0ee2080c61c1a521c41bcf5f3f16ab56fb0fef82 (patch)
tree8c7679d5113c16b86bce569aa6ad627a1b489e63 /mm/2s2h/DeveloperTools/EventLog.cpp
parent36c8247a22a497d5a0fcb09b80a4f05da0ba8dbc (diff)
parent7896a0f648170c8826ac8b2330d86933779a5545 (diff)
Merge branch 'develop' of garrettjoecox.github.com:HarbourMasters/2ship2harkinian into develop-rando
Diffstat (limited to 'mm/2s2h/DeveloperTools/EventLog.cpp')
-rw-r--r--mm/2s2h/DeveloperTools/EventLog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/DeveloperTools/EventLog.cpp b/mm/2s2h/DeveloperTools/EventLog.cpp
index 353b40703..f61804295 100644
--- a/mm/2s2h/DeveloperTools/EventLog.cpp
+++ b/mm/2s2h/DeveloperTools/EventLog.cpp
@@ -311,7 +311,7 @@ void EventLogWindow::DrawElement() {
CVarSetInteger("gEventLog.Filter.OpenText", 0);
CVarSetInteger("gEventLog.Filter.ItemGive", 0);
}
- Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
+ Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame();
}
g->CurrentItemFlags = backup_item_flags;
@@ -340,7 +340,7 @@ void EventLogWindow::DrawElement() {
s32 maxEntries = CVarGetInteger("gEventLog.MaxEntries", 1000);
if (ImGui::InputScalar("##maxEntriesInput", ImGuiDataType_S32, &maxEntries)) {
CVarSetInteger("gEventLog.MaxEntries", MAX(0, maxEntries));
- Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
+ Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame();
TrimEventLog();
}
ImGui::PopItemWidth();