This commit is contained in:
JohnCorby 2022-01-16 00:58:30 -08:00
parent 7610fcac18
commit c00deba4e6

View File

@ -62,7 +62,7 @@ namespace QSB.AuthoritySync
{
var oldConn = identity.connectionToClient;
var newConn = id != uint.MaxValue
? NetworkServer.connections.Values.First(x => x.GetPlayerId() == id)
? NetworkServer.connections.Values.FirstOrDefault(x => x.GetPlayerId() == id)
: null;
if (oldConn == newConn)