minor tweaks

This commit is contained in:
Derek
2024-07-25 22:38:58 -05:00
parent 88f0aba35d
commit c16d876393
6 changed files with 198 additions and 160 deletions

View File

@@ -28,8 +28,9 @@ func _ready():
func _process(delta):
#once max particles reached delete from scene
if level_control.particle_number >= (particle_number + level_control.MAX_PARTICLES):
_on_timer_timeout()
if level_control != null: #replace this check when level reload works properly
if level_control.particle_number >= (particle_number + level_control.MAX_PARTICLES):
_on_timer_timeout()
func _on_timer_timeout():
collision_shape.disabled = true

View File

@@ -591,7 +591,6 @@ bullet = ExtResource("2_aew5r")
casing = ExtResource("3_6esjv")
bullet_speed = 75
bullet_drop = 0.01
bullet_damage = 0
[node name="TurretLook" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00161432, 1.62046, 0.00134204)