mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 10:55:54 +00:00
Explosion sprites and lifetime
This commit is contained in:
parent
2a07a31678
commit
a0b5cedff9
10 changed files with 102 additions and 18 deletions
|
|
@ -251,7 +251,7 @@ public partial class Enemy : CharacterBody2D
|
|||
if (bullet.BulletInfo.Owner == BulletOwner.Enemy) return;
|
||||
|
||||
this.Hit(bullet.Damage);
|
||||
bullet.QueueFree();
|
||||
bullet.RequestCollisionDestruction();
|
||||
}
|
||||
|
||||
// Bullets collision
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue