mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-20 06:26:35 -04:00
Race Lockout (#5364)
* Implement race lockout on the new menu, with option for opt-out. * Cal's requests.
This commit is contained in:
@@ -77,6 +77,7 @@ void DrawHookRegisteringInfos(const char* hookName) {
|
||||
}
|
||||
|
||||
void HookDebuggerWindow::DrawElement() {
|
||||
ImGui::BeginDisabled(CVarGetInteger(CVAR_SETTING("DisableChanges"), 0));
|
||||
#ifndef __cpp_lib_source_location
|
||||
ImGui::TextColored(yellow, "Some features of the Hook Debugger are unavailable because SoH was compiled "
|
||||
"without \"<source_location>\" support "
|
||||
@@ -93,6 +94,7 @@ void HookDebuggerWindow::DrawElement() {
|
||||
}
|
||||
|
||||
ImGui::PopFont();
|
||||
ImGui::EndDisabled();
|
||||
}
|
||||
|
||||
void HookDebuggerWindow::InitElement() {
|
||||
|
||||
Reference in New Issue
Block a user