From dc0d41f477ed1ad435f51f26fff8219f448d55a3 Mon Sep 17 00:00:00 2001 From: mnjnhuang <1090031856@qq.com> Date: Tue, 18 Nov 2025 16:47:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=94=81=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/00_scripts/Events/EventSvcLock.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/00_scripts/Events/EventSvcLock.cs b/Assets/00_scripts/Events/EventSvcLock.cs index 31941bb..90eb44d 100644 --- a/Assets/00_scripts/Events/EventSvcLock.cs +++ b/Assets/00_scripts/Events/EventSvcLock.cs @@ -12,7 +12,7 @@ public class EventSvcLock { if (!_exclusive_lock_queue.Add(lock_name)) { - if (GetNeedDebugLog()) Debug.LogWarning($"拒绝加锁: [{lock_name}]"); + Debug.LogWarning($"拒绝加锁: [{lock_name}]"); return false; } @@ -30,7 +30,7 @@ public class EventSvcLock public bool LOCK_GET(EVENT_EXCLUSIVE_LOCK lock_name) { if (!_exclusive_lock_queue.Contains(lock_name)) return false; - if (GetNeedDebugLog()) Debug.LogWarning($"状态已被锁定: [{lock_name}]"); + Debug.LogWarning($"状态已被锁定: [{lock_name}]"); return true; } } \ No newline at end of file