diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-08 21:38:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-08 21:38:17 -0300 |
commit | f1c2e196f97bf3d20be327964e0854b9cc453e32 (patch) | |
tree | b1a6548bd03dbb9b3386194d8b0f0309dd15f2a1 /game | |
parent | 39b70c02685e840c3d862d191f361c081ff5d493 (diff) | |
download | renpy-f1c2e196f97bf3d20be327964e0854b9cc453e32.tar.gz renpy-f1c2e196f97bf3d20be327964e0854b9cc453e32.tar.bz2 renpy-f1c2e196f97bf3d20be327964e0854b9cc453e32.tar.xz renpy-f1c2e196f97bf3d20be327964e0854b9cc453e32.zip |
Rewrite Steam Initialization rule from "not init" to "init not True".
Hopefully we'll have less false positives, but I kept some degree of debug.
Diffstat (limited to 'game')
-rw-r--r-- | game/update.rpy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/game/update.rpy b/game/update.rpy index 7620dc8..6b47e2f 100644 --- a/game/update.rpy +++ b/game/update.rpy @@ -165,7 +165,8 @@ init python: try: if not persistent.steam: raise Exception("Steam login was disabled!") - if not steam.init(): + stdout("Steam Status: %s" % str(steam.initialized)) + if steam.init() != True: raise Exception("Steam is not running!") status_update("Attempting Steam authentication...", 81) accId = steam.get_account_id() |