Rework how the main form handles sprites

makes the presence of a Sprite Picker screen more obvious
This commit is contained in:
Kevin Cathcart
2017-12-08 19:28:22 -05:00
parent 911737b84f
commit 073ab728c1
2 changed files with 31 additions and 11 deletions

View File

@@ -91,7 +91,10 @@ def main(args, seed=None):
logger.info('Patching ROM.')
if args.sprite is not None:
sprite = Sprite(args.sprite)
if isinstance(args.sprite,Sprite):
sprite = args.sprite
else:
sprite = Sprite(args.sprite)
else:
sprite = None