shorten password to 3, its just a game
authorStas Sergeev <stsp@aknet.ru>
Thu, 4 Nov 2010 23:00:20 +0000 (23:00 +0000)
committerStas Sergeev <stsp@aknet.ru>
Thu, 4 Nov 2010 23:00:20 +0000 (23:00 +0000)
src/sst.py

index 56a59cd8dc8b8e8ce2365f359f8cf3f38e8071fc..09d838d2bdd3001cb5dc02f6cba62a807be8445f 100644 (file)
@@ -5748,7 +5748,7 @@ def setpassword():
                break
     else:
         game.passwd = ""
-        for i in range(8):
+        for i in range(3):
            game.passwd += chr(ord('a')+randrange(26))
 
 # Code from sst.c begins here