From ed98029a88cd89702980ac7c40b711afddc5aeb2 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 20 十一月 2025 14:44:59 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.secondworld.net.cn:10010/r/Project_SG_scripts

---
 Main/System/Battle/BattleDebug.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Main/System/Battle/BattleDebug.cs b/Main/System/Battle/BattleDebug.cs
index 243e018..caa6a06 100644
--- a/Main/System/Battle/BattleDebug.cs
+++ b/Main/System/Battle/BattleDebug.cs
@@ -5,9 +5,11 @@
 {
 	public static void LogError(string _logMessage)
 	{
+#if UNITY_EDITOR
 		if (Launch.Instance.isOpenBattleDebug)
 		{
-			Debug.LogError(_logMessage);
+			Debug.LogWarning("BattleLog: " + _logMessage);
 		}
+#endif
 	}
 }
\ No newline at end of file

--
Gitblit v1.8.0