X-Git-Url: https://git.cworth.org/git?p=turbot;a=blobdiff_plain;f=turbot%2Fpuzzle.py;fp=turbot%2Fpuzzle.py;h=caf6cede14e0a86ea6e4020ee4abbfd2a8bed745;hp=abfe60b505308874109938f48f234cc2791c19a0;hb=cab4e4b9d7a0c37e988765c723a135739a3a3112;hpb=22bf924c2afa92104795abfb800198b68f4777e3 diff --git a/turbot/puzzle.py b/turbot/puzzle.py index abfe60b..caf6ced 100644 --- a/turbot/puzzle.py +++ b/turbot/puzzle.py @@ -357,4 +357,7 @@ def puzzle_copy(old_puzzle): if 'tags' in old_puzzle: new_puzzle['tags'] = old_puzzle['tags'].copy() + if 'solution' in old_puzzle: + new_puzzle['solution'] = old_puzzle['solution'].copy() + return new_puzzle