Cleanup and rewrite some bullshit

This commit is contained in:
Sardelka9515
2023-02-13 20:44:50 +08:00
parent f555fef48d
commit e4f432b593
35 changed files with 255 additions and 219 deletions

View File

@ -152,7 +152,7 @@ namespace RageCoop.Client
MainVehicle.SetDamageModel(DamageModel);
}
LastUpdated = Main.Ticked;
LastUpdated = Ticked;
}
private void DisplayVehicle(bool updated)
@ -226,7 +226,7 @@ namespace RageCoop.Client
ID = EntityPool.RequestNewID();
MainVehicle = v;
MainVehicle.CanPretendOccupants = false;
OwnerID = Main.LocalPlayerID;
OwnerID = LocalPlayerID;
SetUpFixedData();
}
@ -261,7 +261,7 @@ namespace RageCoop.Client
internal SyncedVehicle(int id)
{
ID = id;
LastSynced = Main.Ticked;
LastSynced = Ticked;
}
#endregion