mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
grammar
This commit is contained in:
parent
df75b8c56a
commit
e5f023804a
@ -132,14 +132,14 @@ public static class QSBPlayerManager
|
||||
|
||||
public static IEnumerator SendHeartbeat()
|
||||
{
|
||||
// yeah mirror has it's own hearbeat stuff, but we have problems with "ghost" PlayerInfos due to epic transport being goofy
|
||||
// yeah mirror has its own hearbeat stuff, but we have problems with "ghost" PlayerInfos due to epic transport being goofy
|
||||
while (true)
|
||||
{
|
||||
if (QSBCore.IsInMultiplayer && QSBCore.IsHost)
|
||||
{
|
||||
foreach (var player in PlayerList)
|
||||
{
|
||||
// if we didnt receive a response in the last loop then we should kick them
|
||||
// if we didn't receive a response in the last loop then we should remove them
|
||||
if (!player.HeartbeatReceived)
|
||||
{
|
||||
DebugLog.DebugWrite($"Didn't receive heartbeat from {player} in time. Removing them.", MessageType.Warning);
|
||||
|
Loading…
x
Reference in New Issue
Block a user