debug log statements
This commit is contained in:
@@ -34,7 +34,7 @@ namespace BoneSync.Data
|
|||||||
internal static void Debug(string v)
|
internal static void Debug(string v)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
Msg(v, ConsoleColor.Gray, 2);
|
Msg($"[DEBUG] {v}", ConsoleColor.Gray, 2);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -146,6 +146,7 @@ namespace BoneSync.Sync.Components
|
|||||||
if (Registered && !isOwner)
|
if (Registered && !isOwner)
|
||||||
{
|
{
|
||||||
_simpleEventQueue.Clear();
|
_simpleEventQueue.Clear();
|
||||||
|
SyncLogger.Debug("Clearing simple event queue for " + _syncId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (_simpleEventQueue.Count > 0 && Registered && isOwner)
|
if (_simpleEventQueue.Count > 0 && Registered && isOwner)
|
||||||
|
|||||||
Reference in New Issue
Block a user