mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 02:46:49 +00:00
Parse entity ids to numbers again
This was SVN commit r14916.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user