mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 09:55:35 +00:00
Explosion sprites and lifetime
This commit is contained in:
parent
2a07a31678
commit
a0b5cedff9
10 changed files with 102 additions and 18 deletions
|
|
@ -442,7 +442,7 @@ public partial class PlayerMovement : CharacterBody2D, IDestructible
|
|||
if (area is Bullet bullet && bullet.BulletOwner != BulletGroup)
|
||||
{
|
||||
this.Hit(bullet.Damage, bullet.DamageType);
|
||||
bullet.QueueFree();
|
||||
bullet.RequestCollisionDestruction();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue