diff --git a/src/game_interpreter.cpp b/src/game_interpreter.cpp index 446d3abe7aa..8b2ab19fb80 100644 --- a/src/game_interpreter.cpp +++ b/src/game_interpreter.cpp @@ -4836,8 +4836,7 @@ bool Game_Interpreter::CommandManiacControlStrings(lcf::rpg::EventCommand const& { std::string op_string = ""; std::string delimiter = (std::string)Main_Data::game_strings->GetWithMode(str_param, args[0], modes[0]); - Output::Debug("args {} {} {}", args[0], args[1], args[2]); - Output::Debug("modes {} {} {}", modes[0], modes[1], modes[2]); + // args[1] & mode[1] relates to starting ID for strings to join // mode 0 = id literal, 1 = direct var, 2 = var literal, 3 = direct var args[1] = ValueOrVariable(modes[1] % 2, args[1]); diff --git a/src/game_strings.cpp b/src/game_strings.cpp index ac2784a3a90..67a712ebfd9 100644 --- a/src/game_strings.cpp +++ b/src/game_strings.cpp @@ -74,8 +74,6 @@ int Game_Strings::InStr(Str_Params params, std::string search, int var_id, int b std::string str = Get(params.string_id); - Output::Debug("Searching for {} in {}", search, str); - int index = Get(params.string_id).find(search, begin); Main_Data::game_variables->Set(var_id, index); return index;