Skip to content

Commit

Permalink
Avoid (another) error when sending partially-inited user
Browse files Browse the repository at this point in the history
  • Loading branch information
Hopper262 committed May 26, 2024
1 parent 7dd1f43 commit 68b17ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UserInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def roomPlayerDataChunk(self, verb):
_fmt = struct.Struct('>HH4xL6xH6xHHHH2xHHH20x')

chatname = self.chatname
if chatname is None:
chatname = b'|iUnknown|p'
teamname = self.teamname()

color = [ 0, 0, 0 ]
Expand Down

0 comments on commit 68b17ab

Please sign in to comment.