Fix location share
This commit is contained in:
parent
44510884fe
commit
5f45b3b4dc
1 changed files with 2 additions and 0 deletions
|
|
@ -78,6 +78,8 @@ const hasLocation = (
|
|||
const entitiesShareLocation = (entityA: IEntity, entityB: IEntity): boolean => {
|
||||
const locationA = getLocation(entityA.location);
|
||||
const locationB = getLocation(entityB.location);
|
||||
console.log(locationA.id);
|
||||
console.log(locationB.id);
|
||||
|
||||
return locationA.id === locationB.id;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue