Fixed a bug that packsack scenarios did not have item ids set resulting in not being able to pick up the packs.

修复了packsack场景没有设置物品id导致无法捡起背包的bug
This commit is contained in:
霧雨烨 2024-06-14 00:44:41 +08:00
parent b35fb50073
commit 6745324855

View File

@ -10,6 +10,7 @@ size = Vector2(41, 57)
collision_layer = 8 collision_layer = 8
collision_mask = 38 collision_mask = 38
script = ExtResource("1_slakl") script = ExtResource("1_slakl")
Id = "packsack"
[node name="Player" type="Sprite2D" parent="."] [node name="Player" type="Sprite2D" parent="."]
texture = ExtResource("2_e1ale") texture = ExtResource("2_e1ale")