minor tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user