Replace obsolete function

This commit is contained in:
Tixx
2025-04-01 09:43:49 +02:00
parent 6053aa6192
commit 7db40e068e
3 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -786,7 +786,7 @@ void TNetwork::Parse(TClient& c, const std::vector<uint8_t>& Packet) {
case 'S':
if (SubCode == 'R') {
beammp_debug("Sending Mod Info");
std::string ToSend = mResourceManager.NewFileList();
std::string ToSend = mResourceManager.GetMods().dump();
beammp_debugf("Mod Info: {}", ToSend);
if (!TCPSend(c, StringToVector(ToSend))) {
ClientKick(c, "TCP Send 'SY' failed");