summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/com/ilotterytea/maxoning/MaxonGame.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/src/com/ilotterytea/maxoning/MaxonGame.java b/core/src/com/ilotterytea/maxoning/MaxonGame.java
index 6f26b12..0ad6a8d 100644
--- a/core/src/com/ilotterytea/maxoning/MaxonGame.java
+++ b/core/src/com/ilotterytea/maxoning/MaxonGame.java
@@ -6,10 +6,8 @@ import com.badlogic.gdx.Preferences;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
-import com.ilotterytea.maxoning.player.MaxonPlayer;
import com.ilotterytea.maxoning.screens.SplashScreen;
import com.ilotterytea.maxoning.utils.I18N;
-import com.ilotterytea.maxoning.utils.serialization.GameDataSystem;
import java.io.IOException;
@@ -36,14 +34,6 @@ public class MaxonGame extends Game {
prefs = Gdx.app.getPreferences("Maxoning");
locale = new I18N(Gdx.files.internal("i18n/" + prefs.getString("lang", "en_us") + ".json"));
- if (!GameDataSystem.exists()) {
- try {
- GameDataSystem.SaveData(new MaxonPlayer());
- } catch (IOException e) {
- throw new RuntimeException(e);
- }
- }
-
prefs.putInteger("width", Gdx.graphics.getWidth());
prefs.putInteger("height", Gdx.graphics.getHeight());
prefs.flush();