diff --git a/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles.sqf b/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles.sqf index d2c5dcef..ee65919f 100644 --- a/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles.sqf +++ b/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles.sqf @@ -121,10 +121,11 @@ for "_i" from 1 to _maxVehicleLimit do { // set fuel level _vehicle setFuel _fuel; // apply persistent textures - if (missionnamespace getvariable ["UseCustomTextures",false]) then { + if ((missionnamespace getvariable ["UseCustomTextures",false]) && {!(_Textures isEqualTo [])}) then { { _vehicle setobjecttextureglobal [_foreachindex,_x]; } foreach _Textures; + _vehicle setVariable ["VEHICLE_TEXTURE", _color]; } else { _cfgEpochVehicles = 'CfgEpochVehicles' call EPOCH_returnConfig;