connections
This commit is contained in:
@@ -40,10 +40,6 @@ public partial class Pip : Area2D
|
||||
|
||||
private void OnAreaEntered(Node2D body)
|
||||
{
|
||||
if (body is Base enteredBase && enteredBase.Faction != Faction)
|
||||
{
|
||||
enteredBase.HealthComponent.TakeDamage(1);
|
||||
QueueFree();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user