Change win text
This commit is contained in:
parent
b3c7789596
commit
49385ede3d
|
@ -740,8 +740,9 @@ async def process_client_cmd(ctx: Context, client: Client, cmd, args):
|
||||||
|
|
||||||
elif cmd == 'GameFinished':
|
elif cmd == 'GameFinished':
|
||||||
if (client.team, client.slot) not in ctx.client_finished_game:
|
if (client.team, client.slot) not in ctx.client_finished_game:
|
||||||
notify_all(ctx, client.name + ' has finished the game.')
|
finished_msg = f'{client.name} (Team #{client.team + 1}) has found the triforce.'
|
||||||
print(client.name + ' has finished the game.')
|
notify_all(ctx, finished_msg)
|
||||||
|
print(finished_msg)
|
||||||
ctx.client_finished_game[client.team, client.slot] = True
|
ctx.client_finished_game[client.team, client.slot] = True
|
||||||
# TODO: Add auto-forfeit code here
|
# TODO: Add auto-forfeit code here
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue