From 23dbe9a4a341631c4f50dded6b8b38d69ecf6ff7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 13 Sep 2010 22:23:45 +0000 Subject: [PATCH] Small refactoring step. --- src/sst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sst.py b/src/sst.py index 0a8a786..d3e4b73 100644 --- a/src/sst.py +++ b/src/sst.py @@ -4459,7 +4459,7 @@ def usecrystals(): skip(1) prouts(_("Scotty- \"Keep your fingers crossed, Sir!\"")) skip(1) - if random.random() > game.cryprob: + if withprob(game.cryprob): prouts(_(" \"Activating now! - - No good! It's***")) skip(2) prouts(_("***RED ALERT! RED A*L********************************")) -- 2.31.1