Fix engine
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user