Format Code

This commit is contained in:
Somebody
2024-10-26 22:45:01 +08:00
parent 17ff8a7ea2
commit a21af51eb7
92 changed files with 1520 additions and 1572 deletions

View File

@@ -113,10 +113,7 @@ public class EntryPoint
if (ConfigManager.Config.GameServer.UsePacketEncryption)
{
Crypto.ClientSecretKey = Crypto.InitEc2b();
if (Crypto.ClientSecretKey == null)
{
ConfigManager.Config.GameServer.UsePacketEncryption = false;
}
if (Crypto.ClientSecretKey == null) ConfigManager.Config.GameServer.UsePacketEncryption = false;
}
Logger.Warn(I18NManager.Translate("Server.ServerInfo.WaitForAllDone"));