From 895bc8ef9596292d30c0457bea95b3d54e188815 Mon Sep 17 00:00:00 2001 From: Stas P Date: Tue, 14 Dec 2010 18:21:56 +0300 Subject: [PATCH] fix password acceptance --- sst.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sst.py b/sst.py index 4b3fdfa..89715b4 100755 --- a/sst.py +++ b/sst.py @@ -915,7 +915,7 @@ def doshield(shraise): action = "SHUP" else: scanner.chew() - return + return if action == "SHUP": # raise shields if game.shldup: prout(_("Shields already up.")) @@ -2664,7 +2664,6 @@ def selfdestruct(): prout(_("SELF-DESTRUCT-SEQUENCE-WILL-BE-ABORTED")) skip(1) scanner.next() - scanner.chew() if game.passwd != scanner.token: prouts(_("PASSWORD-REJECTED;")) skip(1) -- 2.31.1