bugfix: savestation colliding with itself

This commit is contained in:
Felipe M 2021-05-22 18:48:24 +02:00
parent c5a54977ac
commit b0c5798328
Signed by: fmartingr
GPG key ID: 716BC147715E716F
3 changed files with 3 additions and 0 deletions

View file

@ -3,5 +3,6 @@ extends StaticBody2D
onready var animation = $Animation
func _on_SaveArea_body_entered(_body):
print(_body)
animation.play("Save")
SaverLoader.save_game()

View file

@ -37,6 +37,7 @@ tracks/1/keys = {
}
[node name="SaveStation" type="StaticBody2D"]
collision_layer = 0
script = ExtResource( 2 )
[node name="WhiteSpaceSprite" type="Sprite" parent="."]