diff --git a/steam/ext/csgo/state.py b/steam/ext/csgo/state.py index bdd5a558..09a8fb79 100644 --- a/steam/ext/csgo/state.py +++ b/steam/ext/csgo/state.py @@ -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: