Skip to content

Commit

Permalink
Added a status in who list to show if a player is in the deck editor
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaTegner committed May 22, 2023
1 parent 9d32b0a commit 4e25ad0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ygo/parsers/lobby_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ def who(caller):
s = pl.nickname
if pl.afk is True:
s += " " + caller.connection._("[AFK]")
if pl.connection.parser is DeckEditorParser:
s += " " + caller.connection._("[in Deck Editor]")
if pl.watching and "watch" in showing:
if pl.duel.tag is True:
pl0 = caller.connection._("team %s")%(pl.duel.players[0].nickname+", "+pl.duel.tag_players[0].nickname)
Expand Down

0 comments on commit 4e25ad0

Please sign in to comment.