Forgot a bit

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

View File

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