@jtff/miztemplate-lib 3.10.8 → 3.10.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/mizlib.js CHANGED
@@ -334,6 +334,10 @@ class Mizlib {
334
334
  zip.folder(['KNEEBOARD/', file, '/IMAGES/'].join('')),
335
335
  [kneeboardsFolder,'/', file].join(''),
336
336
  fs.readdirSync([kneeboardsFolder,'/', file].join('')));
337
+ } else {
338
+ zip.remove("KNEEBOARD/IMAGES/" + path.basename(file));
339
+ var stream = fs.createReadStream([kneeboardsFolder,'/', file].join(''));
340
+ zip.file("KNEEBOARD/IMAGES/" + path.basename(file), stream);
337
341
  }
338
342
  }
339
343
  }
@@ -285,7 +285,7 @@ function taskTankerEscort(param)
285
285
  {
286
286
  EscortGroup:TaskEscort(
287
287
  GROUP:FindByName(recoveryTankerObject.tanker.GroupName),
288
- POINT_VEC3:New(0, 10, 150):GetVec3(),
288
+ COORDINATE:New(0, 10, 150):GetVec3(),
289
289
  20,
290
290
  UTILS.NMToMeters(40),
291
291
  { 'Air' }
@@ -325,7 +325,7 @@ function taskGroupEscort(param)
325
325
  {
326
326
  EscortingGroup:TaskEscort(
327
327
  GROUP:FindByName(GroupToEscortObject.GroupName),
328
- POINT_VEC3:New(0, 10, 150):GetVec3(),
328
+ COORDINATE:New(0, 10, 150):GetVec3(),
329
329
  20,
330
330
  UTILS.NMToMeters(40),
331
331
  { 'Air' }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtff/miztemplate-lib",
3
- "version": "3.10.8",
3
+ "version": "3.10.10",
4
4
  "description": "JTFF mission template library",
5
5
  "main": "index.js",
6
6
  "files": [