Browse Source

Updated cell_id set position

Moved cell_id position, so it is set before logged on even is being emitted.
pull/180/head
philippj 7 years ago
parent
commit
1a69f730c1
  1. 2
      steam/client/__init__.py

2
steam/client/__init__.py

@ -173,8 +173,8 @@ class SteamClient(CMClient, BuiltinBase):
if result == EResult.OK:
self._reconnect_backoff_c = 0
self.logged_on = True
self.emit(self.EVENT_LOGGED_ON)
self.cell_id = msg.body.cell_id
self.emit(self.EVENT_LOGGED_ON)
return
# CM kills the connection on error anyway

Loading…
Cancel
Save