mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 18:40:03 +00:00
dont include local player in heartbeat
This commit is contained in:
parent
3490f302ad
commit
a774fe07cd
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user