Don't sync invisible vehicles
This commit is contained in:
@ -518,6 +518,7 @@ namespace RageCoop.Client
|
|||||||
// Outgoing sync
|
// Outgoing sync
|
||||||
if (v.IsLocal)
|
if (v.IsLocal)
|
||||||
{
|
{
|
||||||
|
if (!v.MainVehicle.IsVisible) { continue; }
|
||||||
SyncEvents.Check(v);
|
SyncEvents.Check(v);
|
||||||
|
|
||||||
Networking.SendVehicle(v);
|
Networking.SendVehicle(v);
|
||||||
|
Reference in New Issue
Block a user