Fixed bug in objectRegistry's 'get' function

This commit is contained in:
Oliver Sartun 2013-06-29 19:43:50 +02:00
parent bf6cb099fd
commit 1cbb59690f

View File

@ -167,7 +167,7 @@
* @return {Array} An array of all the objects which are currently in the ObjectRegistry
*/
get: function () {
return (_.map(this.indexes, function (cid) {return this.registeredObjects[cid];}, this)).concat(this.registeredObjects);
return (_.map(this.cidIndexes, function (cid) {return this.registeredObjects[cid];}, this)).concat(this.registeredObjects);
}
}