Skip to content

Commit

Permalink
steam: Do not initialize if the dlls do not exist.
Browse files Browse the repository at this point in the history
Fixes #4344.
  • Loading branch information
renpytom committed Feb 11, 2023
1 parent f7b6001 commit 4d6bd0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions renpy/common/00steam.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,9 @@ init -1499 python in achievement:
dll_path = os.path.join(os.path.dirname(sys.executable), dll_name)
has_steam = os.path.exists(dll_path)

if not has_steam:
return

if not config.enable_steam:
return

Expand Down

0 comments on commit 4d6bd0e

Please sign in to comment.