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