取消Extension改为linq.List以避免forin污染
This commit is contained in:
@@ -122,7 +122,7 @@ module es {
|
||||
public removeFromTagList(entity: Entity) {
|
||||
let list = this._entityDict.get(entity.tag);
|
||||
if (list) {
|
||||
list.remove(entity);
|
||||
new linq.List(list).remove(entity);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user