mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
guh
This commit is contained in:
parent
22b93c400a
commit
90d5a01471
@ -52,7 +52,15 @@ public static class QSBMessageManager
|
||||
}
|
||||
else
|
||||
{
|
||||
msg.To.GetNetworkConnection().Send<Wrapper>(msg);
|
||||
var connection = msg.To.GetNetworkConnection();
|
||||
|
||||
if (connection == default)
|
||||
{
|
||||
DebugLog.ToConsole($"Warning - Tried to handle message from disconnected(?) player.", MessageType.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
connection.Send<Wrapper>(msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user