From 0dfec5ae86777e8ac5ab35eb6e1f0b6846a4859e Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 12 Nov 2020 21:24:34 +0100 Subject: [PATCH] For volume obfuscation, don't turn " " to ".". --- plomrogue/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plomrogue/commands.py b/plomrogue/commands.py index 6c35665..0145157 100644 --- a/plomrogue/commands.py +++ b/plomrogue/commands.py @@ -18,7 +18,7 @@ def cmd_ALL(game, msg, connection_id): while random.random() > volume * 8: if c.isupper(): c = c.lower() - elif c != '.': + elif c != '.' and c != ' ': c = '.' else: c = ' ' -- 2.30.2