From 2d511ecf1c73bec1b03a26fc216b60fa130157d9 Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Sat, 13 Jan 2024 18:59:59 +0100 Subject: [PATCH] console fix --- client/adventureMap/CInGameConsole.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/adventureMap/CInGameConsole.cpp b/client/adventureMap/CInGameConsole.cpp index f5235b976..8efabe249 100644 --- a/client/adventureMap/CInGameConsole.cpp +++ b/client/adventureMap/CInGameConsole.cpp @@ -243,6 +243,9 @@ void CInGameConsole::startEnteringText() if (!isActive()) return; + if(enteredText != "") + return; + assert(currentStatusBar.expired());//effectively, nullptr check currentStatusBar = GH.statusbar();