slap a stacktrace on GetPlayerId

This commit is contained in:
JohnCorby 2022-01-27 19:10:39 -08:00
parent 4b16bbe327
commit 4c4ed1d194

View File

@ -35,7 +35,8 @@ namespace QSB.Utility
{
if (!conn.identity)
{
DebugLog.ToConsole($"Error - GetPlayerId on {conn.address} has no identity", MessageType.Error);
// wtf
DebugLog.ToConsole($"Error - GetPlayerId on {conn.address} has no identity\n{Environment.StackTrace}", MessageType.Error);
return uint.MaxValue;
}