Parse entity ids to numbers again

This was SVN commit r14916.
This commit is contained in:
sanderd17
2014-04-11 12:35:50 +00:00
parent 41b8d06e27
commit ad36c0eb7b
@@ -89,7 +89,7 @@ m.EntityCollection.prototype.preventQuickIter = function()
m.EntityCollection.prototype.toIdArray = function()
{
return Object.keys(this._entities);
return Object.keys(this._entities).map(function(n){return +n;});
};
m.EntityCollection.prototype.toEntityArray = function()