home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab9a2e
)
For volume obfuscation, don't turn " " to ".".
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 12 Nov 2020 20:24:34 +0000
(21:24 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 12 Nov 2020 20:24:34 +0000
(21:24 +0100)
plomrogue/commands.py
patch
|
blob
|
history
diff --git
a/plomrogue/commands.py
b/plomrogue/commands.py
index 6c356658e20ae48c858652f353f96353d879f6b0..0145157d537e9cb6986afbe94a8c7acdf39858bf 100644
(file)
--- 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 = ' '