Bug fixes and autosaves
* Added autosave toggle * Fixed achievements being granted in replay scope
This commit is contained in:
parent
962cc2f695
commit
316aea6a5a
@ -63,6 +63,7 @@ screen preferences_general():
|
||||
textbutton _("Tooltips") action settings.Toggle("tooltip")
|
||||
textbutton _("System Cursor") action Preference("system cursor", "toggle")
|
||||
textbutton _("Automatic Updates") action settings.Toggle("updates")
|
||||
textbutton _("Autosave") action ToggleField(store, "_autosave")
|
||||
|
||||
default trans = config.intra_transition
|
||||
|
||||
|
@ -83,6 +83,9 @@ init python:
|
||||
return self.achievements.get(id)[3]
|
||||
|
||||
def unlock(self, id, silent=False):
|
||||
if _in_replay:
|
||||
return
|
||||
|
||||
if persistent.achievements[id][3] == False:
|
||||
self.achievements[id][3] = True
|
||||
persistent.achievements[id][3] = True
|
||||
|
Loading…
Reference in New Issue
Block a user