fixed remote animation
This commit is contained in:
parent
d725e1a0cf
commit
5fb45792c4
5 changed files with 36 additions and 7 deletions
|
|
@ -3,7 +3,7 @@ extends AnimatedSprite2D
|
|||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
hide()
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
|
|
@ -15,4 +15,5 @@ func _process(delta: float) -> void:
|
|||
|
||||
|
||||
func _on_broken_remote_area_entered(area: Area2D) -> void:
|
||||
queue_free()
|
||||
if(area.get_parent().name == "Player"): # i knew this would happen
|
||||
queue_free()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue