yumi-modding / FS17_ContractorMod

7 stars 4 forks source link

Error when configuring a vehicle #46

Closed yumi-modding closed 5 years ago

yumi-modding commented 5 years ago

To test with driver only To test with driver and passenger in vehicle

yumi-modding commented 5 years ago

Issue is BaseMission.onEnterVehicle = Utils.prependedFunction(BaseMission.onEnterVehicle, ContractorMod.beforeEnterVehicle) method has first nil argument (vehicle == nil) leading to error then.