Damage source and effect fix
This commit is contained in:
parent
7aa0aa5bad
commit
c89d93cf24
15 changed files with 52 additions and 34 deletions
|
|
@ -4,7 +4,7 @@ namespace Newlon.Components.Zombies;
|
|||
|
||||
public partial class AudioDamage : AudioStreamPlayer2D
|
||||
{
|
||||
public void OnDamaged(int amount)
|
||||
public void OnDamaged(int amount, Node origin)
|
||||
{
|
||||
Play();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue