From 184f07a912b42e8aa34d08386e1478ef81ceff79 Mon Sep 17 00:00:00 2001 From: dobrykafe Date: Thu, 3 Oct 2024 21:55:07 +0200 Subject: [PATCH] fix server settings command help text overwriting other tooltips --- src/game/editor/editor_server_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/editor/editor_server_settings.cpp b/src/game/editor/editor_server_settings.cpp index 0df350680..5d97c8cb4 100644 --- a/src/game/editor/editor_server_settings.cpp +++ b/src/game/editor/editor_server_settings.cpp @@ -317,7 +317,7 @@ void CEditor::DoMapSettingsEditBox(CMapSettingsBackend::CContext *pContext, cons }; // If we have a valid command, display the help in the tooltip - if(Context.CommandIsValid()) + if(Context.CommandIsValid() && pLineInput->IsActive() && Ui()->HotItem() == nullptr) Context.GetCommandHelpText(m_aTooltip, sizeof(m_aTooltip)); CUIRect ToolBar = *pRect;