Preferences -> Persistent

This commit is contained in:
nutbuster 2021-10-17 14:06:57 +11:00
parent d06e744e65
commit 428720edff
2 changed files with 4 additions and 1 deletions

View file

@ -29,7 +29,7 @@ init python:
def ToggleAutoUpdate(): def ToggleAutoUpdate():
onclick_audio(persistent.autoup) onclick_audio(persistent.autoup)
preferences.autoup = not preferences.autoup persistent.autoup = not persistent.autoup
def ToggleAutoForwardMove(): def ToggleAutoForwardMove():
onclick_audio(persistent.afm_enable) onclick_audio(persistent.afm_enable)

View file

@ -45,6 +45,9 @@ init python:
if persistent.lewd == None: if persistent.lewd == None:
persistent.lewd = False persistent.lewd = False
if persistent.autoup == None:
persistent.autoup = False
transform randPosition: transform randPosition:
alpha 0.0 alpha 0.0
xalign random.uniform(0.2,0.8) xalign random.uniform(0.2,0.8)