fix password acceptance
authorStas P <stas@stas.(none)>
Tue, 14 Dec 2010 15:21:56 +0000 (18:21 +0300)
committerStas P <stas@stas.(none)>
Tue, 14 Dec 2010 15:21:56 +0000 (18:21 +0300)
sst.py

diff --git a/sst.py b/sst.py
index 4b3fdfa8a44aadc33df2243abc2cfc38b201da06..89715b4ee01afa239baeac14d639bb24782deda0 100755 (executable)
--- a/sst.py
+++ b/sst.py
@@ -915,7 +915,7 @@ def doshield(shraise):
                    action = "SHUP"
                else:
                    scanner.chew()
                    action = "SHUP"
                else:
                    scanner.chew()
-                   return    
+                   return
     if action == "SHUP": # raise shields 
        if game.shldup:
            prout(_("Shields already up."))
     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()
     prout(_("SELF-DESTRUCT-SEQUENCE-WILL-BE-ABORTED"))
     skip(1)
     scanner.next()
-    scanner.chew()
     if game.passwd != scanner.token:
        prouts(_("PASSWORD-REJECTED;"))
        skip(1)
     if game.passwd != scanner.token:
        prouts(_("PASSWORD-REJECTED;"))
        skip(1)