mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Fix executed statement not written to in game console
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user