home · contact · privacy
For volume obfuscation, don't turn " " to ".".
authorChristian Heller <c.heller@plomlompom.de>
Thu, 12 Nov 2020 20:24:34 +0000 (21:24 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 12 Nov 2020 20:24:34 +0000 (21:24 +0100)
plomrogue/commands.py

index 6c356658e20ae48c858652f353f96353d879f6b0..0145157d537e9cb6986afbe94a8c7acdf39858bf 100644 (file)
@@ -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 = ' '