Complete partial revert of infinite loop detection (#406)

This commit is contained in:
Tyasuh 2023-03-03 01:02:45 -05:00 committed by GitHub
parent ea8ee743cc
commit a01da24c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -140,17 +140,7 @@ export const SystemPage = (): React.ReactElement => {
marks marks
/> />
</> </>
<OptionSwitch
checked={Settings.infiniteLoopDetection}
onChange={(newValue) => (Settings.infiniteLoopDetection = newValue)}
text="Infinite loop detection"
tooltip={
<>
If this is set, scripts can generate an execution timeout error when an ns function is called and the script
has been running synchronous operations for at least 7s.
</>
}
/>
<OptionSwitch <OptionSwitch
checked={Settings.SuppressSavedGameToast} checked={Settings.SuppressSavedGameToast}
onChange={(newValue) => (Settings.SuppressSavedGameToast = newValue)} onChange={(newValue) => (Settings.SuppressSavedGameToast = newValue)}