if do3DENAction "MissionSave"; for example is executed on mission preview it will save the scenario, wiping all data from mission.sqm without a way to restore the mission if no manual backup was done.
Ideally, do3DENAction would not be executed at all outside of Eden Editor.