Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Ensure Constants Are Always Initialized, Bump Version
Browse files Browse the repository at this point in the history
Fixes #248
  • Loading branch information
Kyrluckechuck committed Mar 24, 2024
1 parent 9345cf9 commit bdeae65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tft.py
Original file line number Diff line number Diff line change
Expand Up @@ -960,8 +960,11 @@ def main():
elif not LCU_INTEGRATION.connect_to_lcu():
restart_league_client()

# Re-initialize constants from running League client
league_directory = LCU_INTEGRATION.get_installation_directory()
update_league_constants(league_directory)
riot_client_directory = system_helpers.determine_riot_client_install_location()
update_riot_client_constants(riot_client_directory)

global PROGRAM_START
PROGRAM_START = datetime.now()
Expand Down

0 comments on commit bdeae65

Please sign in to comment.