summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-10-24 14:32:28 -0300
committerJesusaves <cpntb1@ymail.com>2022-10-24 14:32:28 -0300
commit403da6bb4e9de96a1aa6c72b42e301fe1634a00b (patch)
treefdf695ea0e1172a1d5e5c4ada245c5e3572d40c6
parent25ebd50ce20abca058fb6701d3dc6b27e29a6d11 (diff)
downloadrenpy-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.rpy2
-rw-r--r--game/update.rpy10
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)