瀏覽代碼

Merge pull request #3484 from Laserlicht/console_fix

console fix
Ivan Savenko 1 年之前
父節點
當前提交
c1a870c842
共有 1 個文件被更改,包括 3 次插入0 次删除
  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();