From 6484d9354de23c4b7ff2e7aac0a0c9a625ba99c0 Mon Sep 17 00:00:00 2001 From: Kenix3 Date: Tue, 9 Aug 2022 23:52:31 -0400 Subject: [PATCH] Fixes incorrect command string when adding basic console commands. --- libultraship/libultraship/Console.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libultraship/libultraship/Console.cpp b/libultraship/libultraship/Console.cpp index 5780453e7..cef037bba 100644 --- a/libultraship/libultraship/Console.cpp +++ b/libultraship/libultraship/Console.cpp @@ -71,9 +71,9 @@ namespace Ship { this->filterBuffer = new char[MAX_BUFFER_SIZE]; strcpy(this->filterBuffer, ""); AddCommand("help", { HelpCommand, "Shows all the commands" }); - AddCommand("help", { ClearCommand, "Clear the console history" }); - AddCommand("help", { BindCommand, "Binds key to commands" }); - AddCommand("help", { BindToggleCommand, "Bind key as a bool toggle" }); + AddCommand("clear", { ClearCommand, "Clear the console history" }); + AddCommand("bind", { BindCommand, "Binds key to commands" }); + AddCommand("bind-toggle", { BindToggleCommand, "Bind key as a bool toggle" }); } void Console::Update() {