Fixed extra wave time counting down on tutorial

This commit is contained in:
Anuken
2018-05-05 14:13:21 -04:00
parent f7e0dc4818
commit 450fc456be
2 changed files with 2 additions and 2 deletions

View File

@ -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.")

View File

@ -137,7 +137,7 @@ public class Logic extends Module {
world.pathfinder().resetPaths();
state.lastUpdated = state.wave + 1;
}
}else{
}else if(!world.getMap().name.equals("tutorial")){
state.extrawavetime -= delta();
}
}