From: Stas P Date: Tue, 14 Dec 2010 15:21:56 +0000 (+0300) Subject: fix password acceptance X-Git-Tag: 2.2~115^2~5 X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=commitdiff_plain;h=895bc8ef9596292d30c0457bea95b3d54e188815 fix password acceptance --- 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)