diff --git a/build.gradle b/build.gradle index c52f703dbbcc..2324b9989522 100644 --- a/build.gradle +++ b/build.gradle @@ -153,7 +153,7 @@ project(":core") { apply plugin: "java" dependencies { - boolean comp = false//System.properties["release"] == null || System.properties["release"] == "false" + boolean comp = System.properties["release"] == null || System.properties["release"] == "false" if(!comp){ println("NOTICE: Compiling release build.") diff --git a/core/src/io/anuke/mindustry/core/Logic.java b/core/src/io/anuke/mindustry/core/Logic.java index e66845828f19..72bb371d7c2f 100644 --- a/core/src/io/anuke/mindustry/core/Logic.java +++ b/core/src/io/anuke/mindustry/core/Logic.java @@ -137,7 +137,7 @@ public void update(){ world.pathfinder().resetPaths(); state.lastUpdated = state.wave + 1; } - }else{ + }else if(!world.getMap().name.equals("tutorial")){ state.extrawavetime -= delta(); } }