diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/block.js b/unpublishedScripts/DomainContent/Toybox/towerDefense/block.js index e56e2f3c1c..5256456b76 100644 --- a/unpublishedScripts/DomainContent/Toybox/towerDefense/block.js +++ b/unpublishedScripts/DomainContent/Toybox/towerDefense/block.js @@ -13,16 +13,16 @@ getBlockProperties = function() { modelURL: BLOCK_MODEL_URL, shapeType: "compound", //compoundShapeURL: BLOCK_COMPOUND_SHAPE_URL, - userData: JSON.stringify({ - grabbableKey: { - wantsTrigger: true - } - }), + //userData: JSON.stringify({ + // grabbableKey: { + // wantsTrigger: true + // } + //}), dimensions: BLOCK_DIMENSIONS, dynamic: 1, gravity: { x: 0.0, y: -9.8, z: 0.0 }, collisionsWillMove: 1, lifetime: BLOCK_LIFETIME, - script: Script.resolvePath("destructibleEntity.js") + script: Script.resolvePath("destructibleGrowableEntity.js") }; } diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/destructibleEntity.js b/unpublishedScripts/DomainContent/Toybox/towerDefense/destructibleGrowableEntity.js similarity index 100% rename from unpublishedScripts/DomainContent/Toybox/towerDefense/destructibleEntity.js rename to unpublishedScripts/DomainContent/Toybox/towerDefense/destructibleGrowableEntity.js diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/launch.js b/unpublishedScripts/DomainContent/Toybox/towerDefense/launch.js index af40423b1b..28be930c03 100644 --- a/unpublishedScripts/DomainContent/Toybox/towerDefense/launch.js +++ b/unpublishedScripts/DomainContent/Toybox/towerDefense/launch.js @@ -64,7 +64,7 @@ print("launch.js | got click down"); this.launchBlock(); } - + this.startNearTrigger = function () { print("launch.js | got start near trigger"); this.launchBlock();