Add option to exclude running scripts from save

This commit is contained in:
Martin Fournier
2022-01-11 16:48:00 -05:00
parent ea2f53e3b4
commit b22eb58aba
4 changed files with 24 additions and 5 deletions
+8
View File
@@ -426,6 +426,14 @@ export function GameOptionsRoot(props: IProps): React.ReactElement {
If this is set all references to memory will use GiB instead of GB, in accordance with IEC 60027-2.
</>} />
</ListItem>
<ListItem>
<OptionSwitch checked={Settings.ExcludeRunningScriptsFromSave}
onChange={(newValue) => Settings.ExcludeRunningScriptsFromSave = newValue}
text="Exclude Running Scripts from Save"
tooltip={<>
If this is set, the save file will exclude all running scripts. This is only useful if your save is lagging a lot. You'll have to restart your script every time you launch the game.
</>} />
</ListItem>
<ListItem>
<Tooltip
title={