new-horizons icon indicating copy to clipboard operation
new-horizons copied to clipboard

Configs get loaded more than once if parent body is updated again

Open MegaPiggy opened this issue 7 months ago • 1 comments

What Happened?

If the primary body that a custom moon orbits is updated, the custom moon also gets updated again. Problem with that is it will add everything that is already on it again. Which can get quite extreme if you have multiple configs updating the primary body. Here is one moon config with 6 planet configs. There should not be 6 ground spheres and orbit lines, but because it gets reupdated 6 times that happens. 6

Here's an example mod with only 2 planet configs MegaPiggy.MultipleLoadBug.zip

What was supposed to happen?

Should only load a config once

MegaPiggy avatar Jul 11 '24 01:07 MegaPiggy