make players command only output to the player requesting if there's 10 or more players
This commit is contained in:
parent
905714adfe
commit
356ff91cfd
|
@ -451,7 +451,10 @@ class ClientMessageProcessor(CommandProcessor):
|
||||||
|
|
||||||
def _cmd_players(self):
|
def _cmd_players(self):
|
||||||
"""Get information about connected and missing players"""
|
"""Get information about connected and missing players"""
|
||||||
notify_all(self.ctx, get_players_string(self.ctx))
|
if len(self.ctx.player_names) < 10:
|
||||||
|
notify_all(self.ctx, get_players_string(self.ctx))
|
||||||
|
else:
|
||||||
|
self.output(get_players_string(self.ctx))
|
||||||
|
|
||||||
def _cmd_forfeit(self):
|
def _cmd_forfeit(self):
|
||||||
"""Surrender and send your remaining items out to their recipients"""
|
"""Surrender and send your remaining items out to their recipients"""
|
||||||
|
|
Loading…
Reference in New Issue