From a35b74f367369a00613e83e5cb939285964115e2 Mon Sep 17 00:00:00 2001 From: KJeff01 Date: Thu, 9 Nov 2023 12:40:27 -0600 Subject: [PATCH] Remove artifact label from Alpha 3 Recent improvements to label loading showed an assert for a no longer existing artifact. Delete any traces of it. --- data/base/script/campaign/cam1-1.js | 2 -- data/base/wrf/cam1/sub1-1/labels.json | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/data/base/script/campaign/cam1-1.js b/data/base/script/campaign/cam1-1.js index c82ea07d686..299563859f8 100644 --- a/data/base/script/campaign/cam1-1.js +++ b/data/base/script/campaign/cam1-1.js @@ -122,8 +122,6 @@ function eventStartLevel() camUpgradeOnMapTemplates(cTempl.buggy, cTempl.buggytwin, CAM_SCAV_7); camUpgradeOnMapTemplates(cTempl.bjeep, cTempl.bjeeptwin, CAM_SCAV_7); - //Get rid of the already existing crate and replace with another - camSafeRemoveObject("artifact1", false); camSetArtifacts({ "scavFactory1": { tech: "R-Wpn-MG3Mk1" }, //Heavy machine gun }); diff --git a/data/base/wrf/cam1/sub1-1/labels.json b/data/base/wrf/cam1/sub1-1/labels.json index 47a6a38c2e5..c8bc9d37fa6 100644 --- a/data/base/wrf/cam1/sub1-1/labels.json +++ b/data/base/wrf/cam1/sub1-1/labels.json @@ -100,23 +100,18 @@ }, "object_0": { - "label": "artifact1", - "id": 160831, - "type": 2 - }, - "object_1": { "label": "scavFactory1", "id": 146, "player": 7, "type": 1 }, - "object_2": { + "object_1": { "label": "frontBunkerLeft", "id": 142, "player": 7, "type": 1 }, - "object_3": { + "object_2": { "label": "frontBunkerRight", "id": 143, "player": 7,