fix: Player activated switches (#1655)

This commit is contained in:
David Markowitz
2024-11-25 20:55:50 -08:00
committed by GitHub
parent ec501831e6
commit 9e7ef8c4ee
4 changed files with 24 additions and 6 deletions

View File

@@ -1351,11 +1351,6 @@ void Entity::OnCollisionPhantom(const LWOOBJID otherEntity) {
callback(other);
}
SwitchComponent* switchComp = GetComponent<SwitchComponent>();
if (switchComp) {
switchComp->EntityEnter(other);
}
TriggerEvent(eTriggerEventType::ENTER, other);
// POI system