mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix executed statement not written to in game console
This commit is contained in:
parent
4babfa2479
commit
85031f2b9a
|
@ -38,6 +38,10 @@ void InGameConsole::Input(CONSOLE_INPUT input)
|
|||
case CONSOLE_INPUT_LINE_EXECUTE:
|
||||
if (_consoleCurrentLine[0] != '\0') {
|
||||
HistoryAdd(_consoleCurrentLine);
|
||||
|
||||
// Append text we are executing to prompt line
|
||||
_consoleLines.back().append(_consoleCurrentLine);
|
||||
|
||||
Execute(_consoleCurrentLine);
|
||||
WritePrompt();
|
||||
ClearInput();
|
||||
|
|
Loading…
Reference in New Issue