summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-19 02:12:07 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-19 02:12:07 -0300
commitdab0bb9a0c420647cca2dc52161ccd77b529bb8f (patch)
treecc1c41dc4cb54a1b6ab5b3f5fa0634a2dbbd6325
parentde7eb0ad14d5f2272bc81c997fff6d914680eaa4 (diff)
downloadrenpy-dab0bb9a0c420647cca2dc52161ccd77b529bb8f.tar.gz
renpy-dab0bb9a0c420647cca2dc52161ccd77b529bb8f.tar.bz2
renpy-dab0bb9a0c420647cca2dc52161ccd77b529bb8f.tar.xz
renpy-dab0bb9a0c420647cca2dc52161ccd77b529bb8f.zip
Hide this option if Steam Login is enabled (would be a lie!)
-rw-r--r--game/screens.rpy4
1 files changed, 3 insertions, 1 deletions
diff --git a/game/screens.rpy b/game/screens.rpy
index d3f900b..af637bf 100644
--- a/game/screens.rpy
+++ b/game/screens.rpy
@@ -699,7 +699,9 @@ screen preferences():
label _("Others")
textbutton _("Remember TOTP %s" % ifte(persistent.totp is not None, _("ON"), _("OFF"))):
action Function(renpy.call_in_new_context, "set2fa")
- textbutton _("Remember Login %s" % ifte(persistent.vmethod is not None, _("ON"), _("OFF"))):
+ showif not persistent.steam:
+ textbutton _("Remember Login %s" % ifte(
+ persistent.vmethod is not None, _("ON"), _("OFF"))):
action Function(renpy.call_in_new_context, "savevm")
textbutton _("Validate Files"):
action ifte(persistent.client is not None and