The current particle update script in #5394 had a bug that caused it to delete the parameters in the global "Particles" subsection if that subsection already existed (it did not exist in any file before #5394). This mostly means you cannot apply this script again to a file that was already updated without deleting parameters. This PR fixes the problem by detecting if the parameters have already been moved and then skipping the operation.
The current particle update script in #5394 had a bug that caused it to delete the parameters in the global "Particles" subsection if that subsection already existed (it did not exist in any file before #5394). This mostly means you cannot apply this script again to a file that was already updated without deleting parameters. This PR fixes the problem by detecting if the parameters have already been moved and then skipping the operation.