Allowing seed number to save onto exported yaml if provided by user

This commit is contained in:
codemann8
2024-04-21 02:21:30 -05:00
parent f377cc1bda
commit 8caee1e202
2 changed files with 4 additions and 0 deletions

View File

@@ -413,6 +413,8 @@ def export_yaml(args, fish):
logger = logging.getLogger('')
world = init_world(args, fish)
if args.seed and int(args.seed) > 0:
world.seed = int(args.seed)
from OverworldShuffle import __version__ as ORVersion
logger.info(