From 2a1e7baaa229ba188baa2cf8b35cc6ec1485f35b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 18 Feb 2012 17:34:17 -0500 Subject: [PATCH] Minor fix to game load code. --- sst.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sst.py b/sst.py index db0ef8c..691eff8 100755 --- a/sst.py +++ b/sst.py @@ -5217,7 +5217,7 @@ def freeze(boss): def thaw(): "Retrieve saved game." global game - game.passwd[0] = '\0' + game.passwd = None key = scanner.next() if key == "IHEOL": proutn(_("File name: ")) @@ -5225,7 +5225,6 @@ def thaw(): if key != "IHALPHA": huh() return True - scanner.chew() if '.' not in scanner.token: scanner.token += ".trk" try: @@ -5235,6 +5234,7 @@ def thaw(): return game = cPickle.load(fp) fp.close() + scanner.chew() return False # I used to find planets -- 2.31.1