diff options
-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) |