Skip to content

Commit

Permalink
Add gc_status_change
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobot1234 committed Aug 13, 2023
1 parent c258b84 commit 25dc9ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions steam/ext/csgo/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ def parse_client_goodbye(self, msg: sdk.ConnectionStatus | None = None) -> None:
self.dispatch("gc_disconnect")
self._gc_connected.clear()
self._gc_ready.clear()
if msg is not None:
self.dispatch("gc_status_change", msg.status)

@parser
async def parse_gc_client_connect(self, msg: sdk.ClientWelcome) -> None:
Expand Down

0 comments on commit 25dc9ca

Please sign in to comment.