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:
3c91782
)
Only send server intro message to logged-in user.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 27 Dec 2020 12:34:51 +0000
(13:34 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 27 Dec 2020 12:34:51 +0000
(13:34 +0100)
plomrogue/game.py
patch
|
blob
|
history
diff --git
a/plomrogue/game.py
b/plomrogue/game.py
index d51c832fd36dc2e9d353969bee079f751c62ce40..e7bc7301e0eea7782ac9cf444e8bb274f98cdef0 100755
(executable)
--- a/
plomrogue/game.py
+++ b/
plomrogue/game.py
@@
-365,7
+365,7
@@
class Game(GameBase):
self.io.send('PLAYER_ID %s' % t.id_, connection_id)
self.io.send('LOGIN_OK', connection_id)
for msg in self.intro_messages:
- self.io.send('CHAT ' + quote(msg))
+ self.io.send('CHAT ' + quote(msg)
, connection_id
)
self.io.send('CHAT ' + quote(t.name + ' entered the map.'))
for s in [s for s in self.things
if s.type_ == 'SpawnPoint' and s.name == t.name]: