Remove all debugger warnings

This commit is contained in:
Daniel Siepmann 2024-03-26 13:55:46 +01:00
parent b433db6095
commit b9281930bd
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 1 additions and 11 deletions

View file

@ -11,11 +11,6 @@ func _ready():
pass pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _on_mob_timer_timeout(): func _on_mob_timer_timeout():
var mob = mob_scene.instantiate() var mob = mob_scene.instantiate()
var mob_spawn_location = $MobPath/MobSpawnLocation var mob_spawn_location = $MobPath/MobSpawnLocation

View file

@ -7,10 +7,5 @@ func _ready():
$AnimatedSprite2D.play(mob_types[randi() % mob_types.size()]) $AnimatedSprite2D.play(mob_types[randi() % mob_types.size()])
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _on_visible_on_screen_notifier_2d_screen_exited(): func _on_visible_on_screen_notifier_2d_screen_exited():
queue_free() queue_free()

View file

@ -46,7 +46,7 @@ func _process(delta):
$AnimatedSprite2D.flip_v = velocity.y > 0 $AnimatedSprite2D.flip_v = velocity.y > 0
func _on_body_entered(body): func _on_body_entered(_body):
hide() hide()
hit.emit() hit.emit()
$CollisionShape2D.set_deferred('disabled', true) $CollisionShape2D.set_deferred('disabled', true)