修复component关系管理器add问题

This commit is contained in:
yhh
2020-11-24 15:27:49 +08:00
parent 5c0ee92d85
commit 73b484d894
4 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ module es {
public static add(type) {
if (!this._componentTypesMask.has(type))
this._componentTypesMask[type] = this._componentTypesMask.size;
this._componentTypesMask.set(type, this._componentTypesMask.size);
}
public static getIndexFor(type) {