Game loads deleted content.

I am making my game on rpg maker mv, and I have no idea why, but its loading a map that I deleted, and its events, if anyone knows how to fix this that would be great, thanks!
Did you save your settings before testing your project?
I did, this has been going on for several days now.
What did you do before the loading deleted maps happened?
I was touching up on some of the other maps, making them look better, Thats all I did though, I am not at my computer right now so I can't send the project.
That's weird. Unless you saved your project while testing it? You need to delete your old save file then. Or it has something to do with plugins?
I deleted the save yet it still happens, and the only plugin I have is the one it comes with every new project, though I forgot the name of it. It really is weird cause I looked all over and have found no other case of this happening.
yes, there are other cases like this.
It always happens if someone makes the mistake of deploying into the project folder.

When you use "deployment", the directory that the programs asks for is the output folder for a deployed version, you must never give the project folder itself for this as that will overwrite some important files.

Here are some steps to solve this:
1) open your project folder and look for a directory named www there.
2) if you find it, delete it and continue with step 3
if you don't have a www folder then the cause is something else - in that case we need to know the full filepath of where you're storing your project
3) make a new project
4) open the folder of the new project
5) copy a file named "package.json" (or packages.json) from the new project into your damaged project folder, overwriting the wrong version there

now you should be able to playtest your current version (currently your playtest is no longer on the current project but redirected to the older deployed version inside the www folder)
Now that you say that I do remember a ww file, I will try this when I get home, thanks.
I have done the steps, and the bug is gone, thanks!

Original thread: https://forums.rpgmakerweb.com/threads/game-loads-deleted-content.109009/