Skip to content

Commit 33bf6a5

Browse files
author
hepfnepf
committed
Fixed pooling disabeling the life timer on bullets.
1 parent 99bee86 commit 33bf6a5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Scenes/Game.tscn

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ bus = "Music"
8686
tracks = [ ExtResource( 19 ), ExtResource( 18 ), ExtResource( 21 ), ExtResource( 22 ), ExtResource( 20 ) ]
8787
volumes = {
8888
ExtResource( 19 ): 6.0,
89-
ExtResource( 18 ): 0.0,
89+
ExtResource( 22 ): 0.0,
9090
ExtResource( 20 ): 0.0,
91-
ExtResource( 21 ): -6.0,
92-
ExtResource( 22 ): 0.0
91+
ExtResource( 18 ): 0.0,
92+
ExtResource( 21 ): -6.0
9393
}

Scenes/Weapons/Bullets/BulletBasis.gd

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ func reset():
6262
#revert the stuff from die()
6363
sprite.visible = true
6464
smoketrail.reset()
65+
timer.start()
6566

6667

6768
func disable():

0 commit comments

Comments
 (0)