Auto-translated
When creating a map, you need to set up a mission for the main quest; when you complete it, the game ends. You just need to change the parameters of the main quest, and that's it.
Added 1 minute ago
And here is a link to this forum, where it says how to do it:
/topic/2788/. Good luck, mapmaker.