Fully implement settings persistence

This commit is contained in:
Tau
2019-11-06 17:28:29 -05:00
parent 3d166abee4
commit 697ed5f58d
11 changed files with 62 additions and 64 deletions
+2 -19
View File
@@ -24,27 +24,10 @@ export async function createProfile(
dpoint: 0,
};
const missions: MissionState = {
team: [],
solo: [],
};
const settings: Settings = {
bgMusic: 0,
forceQuitEn: false,
steeringForce: 4,
bgVolume: 10,
seVolume: 10,
cornerGuide: true,
lineGuide: false,
ghostEn: false,
taResultSkip: false,
};
const missions: MissionState = { team: [], solo: [] };
const settings: Settings = { music: 0, pack: 13640, paperCup: 0, gauges: 5 };
const story: Story = { x: 0, y: 0, rows: [] };
const timeAttack: TimeAttackState = { courses: [] };
const unlocks: Unlocks = { cup: 0, gauges: 0, music: 0 };
await Promise.all([