From: Eric S. Raymond Date: Fri, 17 Feb 2012 20:46:49 +0000 (-0500) Subject: Scanner clearing was being done at the wrong point. X-Git-Tag: 2.2~113 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=98e7acdbf3a07df71acbd1b81f636d7e9347711f;p=super-star-trek.git Scanner clearing was being done at the wrong point. --- diff --git a/sst.py b/sst.py index e140f25..db0ef8c 100755 --- a/sst.py +++ b/sst.py @@ -5203,7 +5203,6 @@ def freeze(boss): if key != "IHALPHA": huh() return - scanner.chew() if '.' not in scanner.token: scanner.token += ".trk" try: @@ -5213,6 +5212,7 @@ def freeze(boss): return cPickle.dump(game, fp) fp.close() + scanner.chew() def thaw(): "Retrieve saved game."