How can I make a deleted scene not reappear?

Godot Version

Godot engine 4.11


I made a scene with a fruit, and added it to my level, using a script I removed it using the queue_free() method, and then moved to another level change_scene_to_packed(next_scene)
next_scene = load(next_scene_path)
But when I go back to the same level the strawberry reappears, how do I remove it permanently? I’m a newbie and I don’t understand how to do this at all, thanks in advance

When you change back to the scene, it resets everything. You have to create a check for this if you don’t want it to spawn on scene change. Once you remove it for the first time, just save a boolean somewhere and check that to determine if it should be shown or not.