From 35c85e5a5088facb470a4d7e98da3b9f0b03d862 Mon Sep 17 00:00:00 2001 From: nickci2002 <58965309+nickci2002@users.noreply.github.com> Date: Thu, 19 Jun 2025 19:10:49 -0400 Subject: [PATCH] Removed "kp;" --- src/input/input_handler.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/input/input_handler.cpp b/src/input/input_handler.cpp index eea3d2169..ab0dbe21c 100644 --- a/src/input/input_handler.cpp +++ b/src/input/input_handler.cpp @@ -251,10 +251,9 @@ void ParseInputConfig(const std::string game_id = "") { std::string output_string = line.substr(0, equal_pos); std::string input_string = line.substr(equal_pos + 1); // Remove trailing semicolon from input_string - if (!input_string.empty() && input_string[input_string.length() - 1] == ';') { - if (!(input_string == ";" || input_string == "kp;")) { - line = line.substr(0, line.length() - 1); - } + if (!input_string.empty() && input_string[input_string.length() - 1] == ';' && + input_string != ";") { + line = line.substr(0, line.length() - 1); } std::size_t comma_pos = input_string.find(',');