CommonClient: Match ServerLabel's team to other UIs (#5875)

This commit is contained in:
qwint
2026-08-16 09:38:37 +02:00
committed by GitHub
parent e3a60683e5
commit 5b155bcc48
+1 -1
View File
@@ -370,7 +370,7 @@ class ServerLabel(HoverBehavior, MDTooltip, MDBoxLayout):
ctx = self.ctx
text = f"Connected to: {ctx.server_address}."
if ctx.slot is not None:
text += f"\nYou are Slot Number {ctx.slot} in Team Number {ctx.team}, " \
text += f"\nYou are Slot Number {ctx.slot} in Team Number {ctx.team + 1}, " \
f"named {ctx.player_names[ctx.slot]}."
if ctx.items_received:
text += f"\nYou have received {len(ctx.items_received)} items. " \