修复component关系管理器add问题
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user