Skip to content

Commit

Permalink
Fix Quake1 Protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Jan 19, 2024
1 parent f8e0160 commit 2ea5df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opengsq/protocols/quake1.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _get_player_match_collections(self, br: BinaryReader):
regex = re.compile(r'"(\\"|[^"])*?"|[^\s]+')

# Read all players
while not br.is_end():
while br.remaining_bytes() > 1:
match_collections.append(regex.finditer(br.read_string(self._delimiter2)))

return match_collections
Expand Down

0 comments on commit 2ea5df2

Please sign in to comment.