mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
comment
This commit is contained in:
parent
11eb084a6d
commit
552caff047
@ -137,6 +137,7 @@ public static class QSBPlayerManager
|
||||
{
|
||||
if (QSBCore.IsInMultiplayer && QSBCore.IsHost)
|
||||
{
|
||||
// iterate backwards since we sometimes remove
|
||||
for (var i = PlayerList.Count - 1; i >= 0; i--)
|
||||
{
|
||||
var player = PlayerList[i];
|
||||
@ -146,7 +147,7 @@ public static class QSBPlayerManager
|
||||
continue;
|
||||
}
|
||||
|
||||
// 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 iteration then we should remove them
|
||||
if (!player.HeartbeatReceived)
|
||||
{
|
||||
DebugLog.DebugWrite($"Didn't receive heartbeat from {player} in time. Removing them.", MessageType.Warning);
|
||||
|
Loading…
Reference in New Issue
Block a user