dont include local player in heartbeat

This commit is contained in:
JohnCorby 2022-08-25 16:16:07 -07:00
parent 3490f302ad
commit a774fe07cd

View File

@ -137,7 +137,7 @@ public static class QSBPlayerManager
{ {
if (QSBCore.IsInMultiplayer && QSBCore.IsHost) if (QSBCore.IsInMultiplayer && QSBCore.IsHost)
{ {
foreach (var player in PlayerList.ToList()) foreach (var player in PlayerList.Where(x => !x.IsLocalPlayer).ToList())
{ {
// if we didn't receive a response in the last loop then we should remove them // if we didn't receive a response in the last loop then we should remove them
if (!player.HeartbeatReceived) if (!player.HeartbeatReceived)