v0.9.4: debug updates now only enable in indev builds
This commit is contained in:
parent
ac790b1ece
commit
a06b01aee6
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user