Przeglądaj źródła

Merge pull request #3484 from Laserlicht/console_fix

console fix
Ivan Savenko 1 rok temu
rodzic
commit
c1a870c842
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      client/adventureMap/CInGameConsole.cpp

+ 3 - 0
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();