From a774fe07cd15b30ddc3b25f20bebb58dc9058098 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Thu, 25 Aug 2022 16:16:07 -0700 Subject: [PATCH] dont include local player in heartbeat --- QSB/Player/QSBPlayerManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QSB/Player/QSBPlayerManager.cs b/QSB/Player/QSBPlayerManager.cs index cbce232b..6758c8c6 100644 --- a/QSB/Player/QSBPlayerManager.cs +++ b/QSB/Player/QSBPlayerManager.cs @@ -137,7 +137,7 @@ public static class QSBPlayerManager { 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 (!player.HeartbeatReceived)