diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-10-24 14:32:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-10-24 14:32:28 -0300 |
commit | 403da6bb4e9de96a1aa6c72b42e301fe1634a00b (patch) | |
tree | fdf695ea0e1172a1d5e5c4ada245c5e3572d40c6 | |
parent | 25ebd50ce20abca058fb6701d3dc6b27e29a6d11 (diff) | |
download | renpy-403da6bb4e9de96a1aa6c72b42e301fe1634a00b.tar.gz renpy-403da6bb4e9de96a1aa6c72b42e301fe1634a00b.tar.bz2 renpy-403da6bb4e9de96a1aa6c72b42e301fe1634a00b.tar.xz renpy-403da6bb4e9de96a1aa6c72b42e301fe1634a00b.zip |
Trust your own setting more blindly, even if things burn.
-rw-r--r-- | game/soul.rpy | 2 | ||||
-rw-r--r-- | game/update.rpy | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/game/soul.rpy b/game/soul.rpy index 9066d28..97ba518 100644 --- a/game/soul.rpy +++ b/game/soul.rpy @@ -156,7 +156,7 @@ label thevoid: if mySoul is not None: ## Setup python: - if persistent.steam and steam.initialized: + if persistent.steam: mySoul["name"] = steam.get_persona_name() else: mySoul["name"] = _("Wanderer") diff --git a/game/update.rpy b/game/update.rpy index 7e643d4..de17df7 100644 --- a/game/update.rpy +++ b/game/update.rpy @@ -189,9 +189,13 @@ init python: try: if not persistent.steam: raise Exception("Steam login was disabled!") - stdout("Steam Status: %s" % str(steam.initialized)) - if steam.init() != True: - raise Exception("Steam is not running!") + if steam is None: + raise Exception("Steam Status was disabled!") + #if steam.periodic is None: + # raise Exception("Steam is crazy!") + #assert config.periodic_callbacks.index(steam.periodic) is not None + #if sys.modules["_renpysteam"] is None: + # raise Exception("Steam is not running!") status_update(_("Attempting Steam authentication..."), 81) accId = steam.get_account_id() stdout("Steam login active, user %d" % accId) |