From: Christian Heller Date: Thu, 12 Nov 2020 20:24:34 +0000 (+0100) Subject: For volume obfuscation, don't turn " " to ".". X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/unset_cookie?a=commitdiff_plain;h=0dfec5ae86777e8ac5ab35eb6e1f0b6846a4859e;p=plomrogue2 For volume obfuscation, don't turn " " to ".". --- 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 = ' '