diff options
Diffstat (limited to 'game/update.rpy')
-rw-r--r-- | game/update.rpy | 10 |
1 files changed, 7 insertions, 3 deletions
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) |