From 2eeb96a66ff5d04d0a73784b4228afe8b47fdf3c Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 5 Sep 2021 19:13:56 -0500 Subject: [PATCH] Added unthrottled setting --- src/components/system/Options.vue | 7 ++++++- src/game/gameLoop.ts | 19 ++++++++++++++++++- src/game/settings.ts | 3 ++- src/typings/settings.d.ts | 1 + 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/components/system/Options.vue b/src/components/system/Options.vue index 333cd32..e3a7d5d 100644 --- a/src/components/system/Options.vue +++ b/src/components/system/Options.vue @@ -26,6 +26,11 @@ :value="hideChallenges" @change="toggleSettingsOption('hideChallenges')" /> + ({ showTPS: true, msDisplay: MilestoneDisplay.All, hideChallenges: false, - theme: Themes.Nordic + theme: Themes.Nordic, + unthrottled: false }); const settingsHandler: ProxyHandler> = { diff --git a/src/typings/settings.d.ts b/src/typings/settings.d.ts index 567c98e..097e313 100644 --- a/src/typings/settings.d.ts +++ b/src/typings/settings.d.ts @@ -9,5 +9,6 @@ export interface Settings { msDisplay: MilestoneDisplay; hideChallenges: boolean; theme: Themes; + unthrottled: boolean; [index: string]: unknown; }