Fix various issues
This commit is contained in:
@@ -14,6 +14,9 @@ public partial class BasicEnemy : Node3D
|
||||
|
||||
public void OnEnemyHit(Node3D node)
|
||||
{
|
||||
if (node is Character)
|
||||
return;
|
||||
|
||||
_hp.TakeDamage(1);
|
||||
|
||||
if (_hp.CurrentHP <= 0)
|
||||
|
||||
Reference in New Issue
Block a user