mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-03 17:38:30 +00:00
really simple fix for some errors
This commit is contained in:
parent
84947c476b
commit
4838eba387
@ -66,7 +66,7 @@ namespace Mirror.FizzySteam
|
||||
|
||||
public override void ClientEarlyUpdate()
|
||||
{
|
||||
if (enabled)
|
||||
if (enabled && client != null && !client.Error)
|
||||
{
|
||||
client?.ReceiveData();
|
||||
}
|
||||
@ -82,7 +82,7 @@ namespace Mirror.FizzySteam
|
||||
|
||||
public override void ClientLateUpdate()
|
||||
{
|
||||
if (enabled)
|
||||
if (enabled && client != null && !client.Error)
|
||||
{
|
||||
client?.FlushData();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user