diff --git a/build.gradle b/build.gradle index 7e925de460..5e967407bc 100644 --- a/build.gradle +++ b/build.gradle @@ -107,7 +107,7 @@ project(":core") { apply plugin: "java" dependencies { - boolean comp = System.properties["release"] == null || System.properties["release"].equals("false") + boolean comp = false if(!comp){ println("NOTICE: Compiling release build.") diff --git a/core/assets/version.properties b/core/assets/version.properties index 4879e0b49a..a2312de7d6 100644 --- a/core/assets/version.properties +++ b/core/assets/version.properties @@ -1,7 +1,7 @@ #Autogenerated file. Do not modify. -#Mon Apr 16 21:11:17 EDT 2018 +#Sat Apr 21 01:15:29 EDT 2018 version=release -androidBuildCode=519 +androidBuildCode=523 name=Mindustry code=3.5 build=custom build diff --git a/core/src/io/anuke/mindustry/input/GestureHandler.java b/core/src/io/anuke/mindustry/input/GestureHandler.java index dc1fbdbfca..2eecb54ac6 100644 --- a/core/src/io/anuke/mindustry/input/GestureHandler.java +++ b/core/src/io/anuke/mindustry/input/GestureHandler.java @@ -47,7 +47,7 @@ public class GestureHandler extends GestureAdapter{ if(control.showCursor() && !Inputs.keyDown("select")) return false; if(!control.showCursor() && !(control.input().recipe != null - && control.input().placeMode.lockCamera) && + && control.input().placeMode.lockCamera && state.inventory.hasItems(control.input().recipe.requirements)) && !(control.input().recipe == null && control.input().breakMode.lockCamera)){ float dx = deltaX*Core.camera.zoom/Core.cameraScale, dy = deltaY*Core.camera.zoom/Core.cameraScale; player.x -= dx;