diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameModule.java b/core/src/ru/deadsoftware/cavedroid/game/GameModule.java
index a72dbcd9e3fe06d09b908924510d0a0a3a0e0f49..c47a0e19144a7a6f3d25e78a18d16df26fc2df56 100644 (file)
@Provides
@GameScope
- public static GameWorld provideGameWorld(DropController dropController, MobsController mobsController) {
- int[][] fm = data != null ? data.retrieveForeMap() : null;
- int[][] bm = data != null ? data.retrieveBackMap() : null;
+ public static GameWorld provideGameWorld(DropController dropController,
+ MobsController mobsController,
+ GameItemsHolder gameItemsHolder) {
+ // TODO: 4/20/24 RE-enable saves
+// int[][] fm = data != null ? data.retrieveForeMap() : null;
+// int[][] bm = data != null ? data.retrieveBackMap() : null;
makeDataNullIfEmpty();
- return new GameWorld(dropController, mobsController, fm, bm);
+ return new GameWorld(dropController, mobsController, gameItemsHolder, null, null);
}
}