Attachment Sync: Fehlerbehebung bei Join
This commit is contained in:
@@ -8,7 +8,7 @@ class RageEntity implements IEntity {
|
||||
return this.entity.id;
|
||||
}
|
||||
|
||||
get remoteId(): any {
|
||||
get remoteId(): number {
|
||||
return this.entity.remoteId;
|
||||
}
|
||||
|
||||
@@ -79,10 +79,10 @@ class RageEntityAttachmentPool implements IEntityAttachmentPool {
|
||||
}
|
||||
find(entity: EntityMp): IEntityAttachments {
|
||||
|
||||
for (let i of this.attachmentPool.keys()) {
|
||||
for (let i of this.attachmentPool.keys()) {
|
||||
let pool = this.attachmentPool[i];
|
||||
for (let obj of pool.__attachmentObjects) {
|
||||
if (entity == obj) { return pool;}
|
||||
if (entity == obj) { return pool; }
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user