metric of the number of players
This commit is contained in:
parent
4af54f79dd
commit
dcfdacc6df
@ -258,6 +258,7 @@ class Game:
|
||||
self.choose_characters()
|
||||
if 'gold_rush' in self.expansions:
|
||||
self.notify_gold_rush_shop()
|
||||
Metrics.send_metric('start_game', points=[1], tags=([f"exp:{e}" for e in self.expansions] + [f"players:{self.initial_players}"]))
|
||||
|
||||
def distribute_roles(self):
|
||||
available_roles: List[roles.Role] = []
|
||||
|
@ -272,7 +272,6 @@ def start_game(sid):
|
||||
ses: Player = sio.get_session(sid)
|
||||
ses.game.start_game()
|
||||
advertise_lobbies()
|
||||
Metrics.send_metric('start_game', points=[1], tags=[f"exp:{e}" for e in ses.game.expansions])
|
||||
|
||||
@sio.event
|
||||
def set_character(sid, name):
|
||||
|
Loading…
Reference in New Issue
Block a user