Add debug log for specific data condition in ServerSend

This commit is contained in:
Tixx
2026-08-09 01:18:39 +02:00
committed by GitHub
parent 626f919df0
commit 5db5561a30
+4
View File
@@ -61,6 +61,10 @@ void GameSend(std::string_view Data) {
} }
void ServerSend(std::string Data, bool Rel) { void ServerSend(std::string Data, bool Rel) {
if (Data.length() > 1 && Data[0] == 't') {
debug("hey");
}
if (Terminate || Data.empty()) if (Terminate || Data.empty())
return; return;
if (Data.find("Zp") != std::string::npos && Data.size() > 500) { if (Data.find("Zp") != std::string::npos && Data.size() > 500) {