Fixes incorrect command string when adding basic console commands.
This commit is contained in:
parent
23fb885e09
commit
6484d9354d
|
@ -71,9 +71,9 @@ namespace Ship {
|
||||||
this->filterBuffer = new char[MAX_BUFFER_SIZE];
|
this->filterBuffer = new char[MAX_BUFFER_SIZE];
|
||||||
strcpy(this->filterBuffer, "");
|
strcpy(this->filterBuffer, "");
|
||||||
AddCommand("help", { HelpCommand, "Shows all the commands" });
|
AddCommand("help", { HelpCommand, "Shows all the commands" });
|
||||||
AddCommand("help", { ClearCommand, "Clear the console history" });
|
AddCommand("clear", { ClearCommand, "Clear the console history" });
|
||||||
AddCommand("help", { BindCommand, "Binds key to commands" });
|
AddCommand("bind", { BindCommand, "Binds key to commands" });
|
||||||
AddCommand("help", { BindToggleCommand, "Bind key as a bool toggle" });
|
AddCommand("bind-toggle", { BindToggleCommand, "Bind key as a bool toggle" });
|
||||||
}
|
}
|
||||||
|
|
||||||
void Console::Update() {
|
void Console::Update() {
|
||||||
|
|
Loading…
Reference in New Issue