Closed Amuxix closed 10 years ago
That is a really nicely done Issue. LordIllyohs is happy you confirmed something he thought maybe might be happening. We'll look into this ASAP.
This is a perfect example of why having detailed steps to reproduce an issue is so important. Thank you Amuxix. This turned out to be a much more interesting issue than it originally looked like. What's happening actually doesn't have anything to do with Waypoints, signature, or save file locations. Runes are all loaded into RAM whenever you open up a world with Runes in it. When you exit that world, they stay in RAM when you're in the main menu. Then, when you open up a new world, the new world begins running with all the runes that are already there.
I was able to partially disable this behavior by clearing the activeMagic() list. This will prevent them from migrating into the world save JSONs. So that's a partial win. What was more difficult was unregistering Runes from the event handlers. This is still an issue for Torch Bearer and Zeerix Chest.
I found out a bug that makes teleports move the player to the wrong position, here is how to reproduce it.
You get teleported to the coordinates of the waypoint of the first world.