v0.9.4: debug updates now only enable in indev builds
This commit is contained in:
+3
-1
@@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
package com.shatteredpixel.shatteredpixeldungeon.services.updates;
|
package com.shatteredpixel.shatteredpixeldungeon.services.updates;
|
||||||
|
|
||||||
|
import com.watabou.noosa.Game;
|
||||||
|
|
||||||
public class UpdateImpl {
|
public class UpdateImpl {
|
||||||
|
|
||||||
private static UpdateService updateChecker = new DebugUpdates();
|
private static UpdateService updateChecker = new DebugUpdates();
|
||||||
@@ -30,7 +32,7 @@ public class UpdateImpl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean supportsUpdates(){
|
public static boolean supportsUpdates(){
|
||||||
return true;
|
return Game.version.contains("INDEV");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user