Prechádzať zdrojové kódy

Merge pull request #3484 from Laserlicht/console_fix

console fix
Ivan Savenko 1 rok pred
rodič
commit
c1a870c842
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  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();