1
Fork 0
mirror of https://github.com/RYGhub/the-cold-night.git synced 2024-11-24 21:54:18 +00:00

🐛 Fix pickups not getting picked up

This commit is contained in:
Steffo 2022-04-04 21:40:32 +02:00
parent fa631d40c0
commit e0d78007d7
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 4 additions and 1 deletions

View file

@ -38,6 +38,9 @@ texture = ExtResource( 2 )
position = Vector2( 421, -275 )
scale = Vector2( 4, 4 )
[node name="FlameSprite" parent="TheDarkNightUI/MenuFire/Flame/Shape" index="0"]
frame = 3
[node name="Damaging" parent="TheDarkNightUI/MenuFire" index="3"]
damage = -5.0

View file

@ -21,7 +21,7 @@ func _on_Despawn_timeout():
func pick_up():
active = false
set_active(false)
$Duration.start()
emit_signal("picked_up")