Godot Version
4.4
Question
I am making a game where the player and enemies have both have inventories, and I am trying to make a way for them to drop their items when they die, so I tried to override the free()
call so that when one got deleted it would spawn the item drop, but it seems like it is never being called. How can I fix this?
The code
func free() -> void:
*Drop the item*
super()
I place break points throughout the section, but they never triggered making me think it was never called