[bot/saco/server] Update CNetGame constructor

This commit is contained in:
RD42
2024-04-23 22:44:38 +08:00
parent d1451f9529
commit ae590d171c
3 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#include "main.h"
#include "../raknet/SocketDataEncryptor.h"
int CanFileBeOpenedForReading(char * filename);
@ -65,7 +66,7 @@ CNetGame::CNetGame()
// Setup RakNet
m_pRak = RakNetworkFactory::GetRakServerInterface();
SocketDataEncryptor::SetKey(dwPort);