Skip to content

Commit

Permalink
Fixed extra wave time counting down on tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed May 5, 2018
1 parent f7e0dc4 commit 450fc45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down
2 changes: 1 addition & 1 deletion core/src/io/anuke/mindustry/core/Logic.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 450fc45

Please sign in to comment.