bug arreglado
This commit is contained in:
1 parent
84c148f1ab
commit
82c7963767
4 files changed
+76
-6
No files matched your search
+2
-1
@@ -48,5 +48,6 @@ func is_on_floor() -> bool:
|
||||
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
if body.is_in_group("player"):
|
||||
picked_up.emit(self, pickup_data)
|
||||
if pickup_data != null:
|
||||
picked_up.emit(self, pickup_data)
|
||||
queue_free()
|
||||
Reference in new issue
Block a user