Forgot a bit

This commit is contained in:
2026-01-26 01:43:40 -08:00
parent e63a94210c
commit 2ef838f270

View File

@@ -36,9 +36,9 @@ public partial class SetItem : RigidBody3D
private void ExplosionArea_AreaEntered(Area3D area) private void ExplosionArea_AreaEntered(Area3D area)
{ {
if (area.GetOwner() is ExplodableWall wall) if (area.GetOwner() is ExplodableWall wall)
// door.Demolish(); wall.Demolish();
if (area.GetOwner() is IEnemy enemy) if (area.GetOwner() is IEnemy enemy)
enemy.HealthComponent.Damage(10); enemy.HealthComponent.Damage(10);
} }
public async void Set() public async void Set()