From 066ed07316526d3d6bf344e8417c361d46e30b04 Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Sat, 2 Oct 2021 20:12:21 +0200 Subject: [PATCH] Change initialization --- src/App.svelte | 12 +++++++----- src/shark/SaveHandler.ts | 9 +++++---- src/shark/Settings.ts | 2 +- src/shark/SharkGame.ts | 8 ++++---- 4 files changed, 17 insertions(+), 14 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 5895184..4652ecd 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -8,8 +8,6 @@ import { onDestroy, onMount } from "svelte"; import type { Unsubscriber } from "svelte/store"; - SharkGame.init(); - let root: HTMLElement; let unsubscribeSettings: Unsubscriber; @@ -40,6 +38,10 @@