From efd1a5c6001a9559a7c0a2dbc692e4c35a6559c1 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Thu, 23 Feb 2017 16:38:28 -0800 Subject: [PATCH] Update parameter name in getPropertiesForEntities --- .../marketplace/shortbow/shortbowGameManager.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unpublishedScripts/marketplace/shortbow/shortbowGameManager.js b/unpublishedScripts/marketplace/shortbow/shortbowGameManager.js index 6f95130d1b..48c9e6fd4c 100644 --- a/unpublishedScripts/marketplace/shortbow/shortbowGameManager.js +++ b/unpublishedScripts/marketplace/shortbow/shortbowGameManager.js @@ -92,12 +92,12 @@ function findChildrenWithName(parentID, name) { return matchingIDs; } -function getPropertiesForEntities(entityIDs, properties) { - var props = []; +function getPropertiesForEntities(entityIDs, desiredProperties) { + var properties = []; for (var i = 0; i < entityIDs.length; ++i) { - props.push(Entities.getEntityProperties(entityIDs[i], properties)); + properties.push(Entities.getEntityProperties(entityIDs[i], desiredProperties)); } - return props; + return properties; }