commit b525bc129405388d58230eca23697f36fb0a26d7
Author: leszek <leszek@koltunski.pl>
Date:   Sat Nov 11 00:15:07 2023 +0100

    Make it possible to download objects with no extras file. Up VERSION_OBJECT_APP to 13.

diff --git a/src/main/java/org/distorted/external/RubikUpdates.java b/src/main/java/org/distorted/external/RubikUpdates.java
index 9795c10d..24078d7a 100644
--- a/src/main/java/org/distorted/external/RubikUpdates.java
+++ b/src/main/java/org/distorted/external/RubikUpdates.java
@@ -107,7 +107,7 @@ public class RubikUpdates
     try { oIcon = Integer.parseInt(iconPresent); }
     catch (NumberFormatException ex) { oIcon = 0; }
 
-    if( oVersion>=0 && eVersion>=0 && oPercent>=0 )
+    if( oVersion>=-1 && eVersion>=-1 && oPercent>=0 )
       {
       String upperName = shortName.toUpperCase(Locale.ENGLISH);
       int objOrdinal = RubikObjectList.getOrdinal(upperName);
@@ -127,7 +127,7 @@ public class RubikUpdates
       if( updateO || updateE )
         {
         UpdateInfo info = new UpdateInfo(shortName,longName,description,oVersion,eVersion,oPercent,oIcon,updateO,updateE);
-        if(oPercent>=100)
+        if( oPercent>=100 )
           {
           if( SHOW_DOWNLOADED_DEBUG ) android.util.Log.e("D", "object added to completed");
           mCompleted.add(info);
diff --git a/src/main/java/org/distorted/objects/RubikObject.java b/src/main/java/org/distorted/objects/RubikObject.java
index 04483bd0..38f21223 100644
--- a/src/main/java/org/distorted/objects/RubikObject.java
+++ b/src/main/java/org/distorted/objects/RubikObject.java
@@ -96,9 +96,9 @@ public class RubikObject
     mSolverOrdinal = -1;
 
     mMeshID        =  0;
-    mJsonID        = -1;
-    mExtrasID      = -1;
-    mIconID        = -1;
+    mJsonID        = object.object ? -1 : 0;
+    mExtrasID      = object.extras ? -1 : 0;
+    mIconID        = object.icon   ? -1 : 0;
     }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
