Fix engine

This commit is contained in:
hydrant
2020-03-12 20:23:49 +01:00
parent 5e3bc39275
commit 0492f32160
2 changed files with 2 additions and 1 deletions

View File

@@ -177,6 +177,7 @@ namespace ReallifeGamemode.Server.Util
public static void SetEngineState(Vehicle veh, bool status)
{
veh.EngineStatus = status;
VehicleSyncData data = GetVehicleSyncData(veh);
if (data == default(VehicleSyncData))
data = new VehicleSyncData();