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; }