diff --git a/src/services/game/location.ts b/src/services/game/location.ts index dbb7939..d1df523 100644 --- a/src/services/game/location.ts +++ b/src/services/game/location.ts @@ -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; };