1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

console fix

This commit is contained in:
Laserlicht 2024-01-13 18:59:59 +01:00 committed by GitHub
parent f6e0f46040
commit 2d511ecf1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,6 +243,9 @@ void CInGameConsole::startEnteringText()
if (!isActive())
return;
if(enteredText != "")
return;
assert(currentStatusBar.expired());//effectively, nullptr check
currentStatusBar = GH.statusbar();