Fixed input parsing issue in ConsoleLayout. This must have been a bug

since forever.
This commit is contained in:
casey 2016-07-13 01:28:22 -07:00
parent f700b8055f
commit 5465b072ee

View File

@ -214,6 +214,10 @@ bool ConsoleLayout::ProcessCommand(const std::string& cmd) {
}
}
if (args.size() == 0) {
return true;
}
std::string name = args.size() > 0 ? args[0] : "";
args.erase(args.begin());