From be045e0feac023c82f6a6d22678a313e84157097 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 28 十一月 2025 15:08:02 +0800
Subject: [PATCH] 0312 去除登录过程不允许发包的逻辑,避免影响客户端发包
---
Main/Core/NetworkPackage/GameNetSystem.cs | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/Main/Core/NetworkPackage/GameNetSystem.cs b/Main/Core/NetworkPackage/GameNetSystem.cs
index 56744e6..059ca0b 100644
--- a/Main/Core/NetworkPackage/GameNetSystem.cs
+++ b/Main/Core/NetworkPackage/GameNetSystem.cs
@@ -152,14 +152,15 @@
}
}
- if (waitLoginMap)
- {
- if (protocol is not C0123_tagCClientPackVersion && protocol is not C0101_tagCPlayerLogin)
- {
- Debug.LogWarning("绛夊緟0403鍖咃紝涓嶅厑璁稿彂閫佸叾浠栧寘 " + protocol.ToString());
- return;
- }
- }
+ // 0102鏄粠鍦板浘鍙戦�佺殑 璇存槑宸茬櫥褰曪紝闄ら潪鏈嶅姟绔姤閿欏紓甯革紝杩欓噷鍙互涓嶅睆钄�
+ // if (waitLoginMap)
+ // {
+ // if (protocol is not C0123_tagCClientPackVersion && protocol is not C0101_tagCPlayerLogin)
+ // {
+ // Debug.LogError("绛夊緟0403鍖咃紝涓嶅厑璁稿彂閫佸叾浠栧寘 " + protocol.ToString());
+ // return;
+ // }
+ // }
if (mainSocket != null)
{
--
Gitblit v1.8.0