fix console not closing when you use !load
This commit is contained in:
parent
9e218f1847
commit
6dad17c2e1
@ -22,7 +22,7 @@ ConsoleController::ConsoleController(ControllerCallback * callback, CommandInter
|
||||
|
||||
void ConsoleController::EvaluateCommand(std::string command)
|
||||
{
|
||||
if (command.substr(0, 5) == "!load ")
|
||||
if (command.substr(0, 6) == "!load ")
|
||||
CloseConsole();
|
||||
int returnCode = commandInterface->Command(command);
|
||||
if(command.length())
|
||||
|
Reference in New Issue
Block a user