remove test logs

This commit is contained in:
Aaron Kimbre 2024-04-02 23:58:39 -05:00
parent a447f1ce72
commit 94ed21204e

View File

@ -1011,8 +1011,6 @@ namespace GMZeroCommands {
if (command.requiredLevel > entity->GetGMLevel()) continue; if (command.requiredLevel > entity->GetGMLevel()) continue;
helpMessage << "/" << command.aliases[0] << ": " << command.help << "\n*"; helpMessage << "/" << command.aliases[0] << ": " << command.help << "\n*";
} }
LOG("HELP TEXT IS: \n%s",helpMessage.str().c_str() );
GameMessages::SendSlashCommandFeedbackText(entity, GeneralUtils::ASCIIToUTF16(helpMessage.str().substr(0, helpMessage.str().size() - 2))); GameMessages::SendSlashCommandFeedbackText(entity, GeneralUtils::ASCIIToUTF16(helpMessage.str().substr(0, helpMessage.str().size() - 2)));
} else { } else {
bool foundCommand = false; bool foundCommand = false;
@ -1027,7 +1025,6 @@ namespace GMZeroCommands {
commandDetails << "Aliases: "; commandDetails << "Aliases: ";
std::copy(command.aliases.begin(), command.aliases.end(), std::ostream_iterator<std::string>(commandDetails, ", ")); std::copy(command.aliases.begin(), command.aliases.end(), std::ostream_iterator<std::string>(commandDetails, ", "));
} }
LOG("HELP TEXT IS: \n%s",commandDetails.str().c_str() );
GameMessages::SendSlashCommandFeedbackText(entity, GeneralUtils::ASCIIToUTF16(commandDetails.str().substr(0, commandDetails.str().size() - 2))); GameMessages::SendSlashCommandFeedbackText(entity, GeneralUtils::ASCIIToUTF16(commandDetails.str().substr(0, commandDetails.str().size() - 2)));
} }
} }