mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-31 16:20:45 +00:00
QSBNetworkBehaviour: remove unneeded check
This commit is contained in:
parent
2761d463e1
commit
2f6b67845a
@ -22,11 +22,6 @@ namespace QSB.Utility
|
||||
return;
|
||||
}
|
||||
|
||||
if (!NetworkClient.ready)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (NetworkTime.localTime >= _lastSendTime + SendInterval)
|
||||
{
|
||||
_lastSendTime = NetworkTime.localTime;
|
||||
@ -59,11 +54,6 @@ namespace QSB.Utility
|
||||
return;
|
||||
}
|
||||
|
||||
if (!NetworkClient.ready)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_lastSendTime = NetworkTime.localTime;
|
||||
|
||||
using var writer = NetworkWriterPool.GetWriter();
|
||||
|
Loading…
x
Reference in New Issue
Block a user