Skip to content

Commit

Permalink
update m_GameLaunchedAndShouldClose on EndDrawing, version 1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
surepy committed May 3, 2024
1 parent 842f43b commit 40a12b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/init-preproject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ cmake_policy(SET CMP0091 NEW) # Enable [CMAKE_]MSVC_RUNTIME_LIBRARY

set(TF2BD_VERSION_MAJOR 1 CACHE STRING "TF2BD major version." FORCE)
set(TF2BD_VERSION_MINOR 6 CACHE STRING "TF2BD minor version." FORCE)
set(TF2BD_VERSION_PATCH 2 CACHE STRING "TF2BD patch version." FORCE)
set(TF2BD_VERSION_PATCH 3 CACHE STRING "TF2BD patch version." FORCE)
4 changes: 4 additions & 0 deletions tf2_bot_detector/SetupFlow/TF2CommandLinePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,10 @@ auto TF2CommandLinePage::OnDraw(const DrawState& ds) -> OnDrawResult
}
else
{
if (ds.m_Settings->m_ShouldCloseWhenTFCloses) {
ds.m_Settings->m_Unsaved.m_GameLaunchedAndShouldClose = true;
}

return OnDrawResult::EndDrawing;
}

Expand Down

0 comments on commit 40a12b9

Please sign in to comment.