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:
parent
fa631d40c0
commit
e0d78007d7
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ func _on_Despawn_timeout():
|
|||
|
||||
|
||||
func pick_up():
|
||||
active = false
|
||||
set_active(false)
|
||||
$Duration.start()
|
||||
emit_signal("picked_up")
|
||||
|
||||
|
|
Loading…
Reference in a new issue