From d2280b3df8fddfad5b8a0ee04df7d4f2fd92f79b Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 07 一月 2026 18:27:40 +0800
Subject: [PATCH] 0312 去掉纠正战报中的新旧封包数据
---
Main/System/Debug/DebugController.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Main/System/Debug/DebugController.cs b/Main/System/Debug/DebugController.cs
index 826e178..78c0fa3 100644
--- a/Main/System/Debug/DebugController.cs
+++ b/Main/System/Debug/DebugController.cs
@@ -16,8 +16,12 @@
private void OnEnable()
{
- m_Version.text = string.Format("{0}_{1} 鍒嗘敮:{2}",
+#if UNITY_EDITOR
+ m_Version.text = string.Empty;
+#else
+ m_Version.text = string.Format("{0}_{1} 鍒嗘敮: {2}",
VersionConfig.Get().version, VersionConfig.Get().buildIndex, VersionConfig.Get().branch);
+#endif
}
--
Gitblit v1.8.0