fix: not sure what I was thinking

This commit is contained in:
cha0s 2019-05-09 19:14:28 -05:00
parent dcf871f3a0
commit 0dd94bd06d

View File

@ -286,12 +286,8 @@ export class Informed extends decorate(Trait) {
},
seesEntity: (entity) => {
const areaToInform = this.entity.areaToInform;
return Rectangle.isTouching(
Rectangle.translated(
areaToInform,
Vector.scale(Rectangle.size(areaToInform), -0.5),
),
this.entity.areaToInform,
entity.visibleAabb
);
}