fix console not closing when you use !load

This commit is contained in:
jacob1 2013-01-08 21:00:13 -05:00
parent 9e218f1847
commit 6dad17c2e1

View File

@ -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())