mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-11 16:28:09 +07:00
Fixed extra wave time counting down on tutorial
This commit is contained in:
@ -153,7 +153,7 @@ project(":core") {
|
|||||||
apply plugin: "java"
|
apply plugin: "java"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
boolean comp = false//System.properties["release"] == null || System.properties["release"] == "false"
|
boolean comp = System.properties["release"] == null || System.properties["release"] == "false"
|
||||||
|
|
||||||
if(!comp){
|
if(!comp){
|
||||||
println("NOTICE: Compiling release build.")
|
println("NOTICE: Compiling release build.")
|
||||||
|
@ -137,7 +137,7 @@ public class Logic extends Module {
|
|||||||
world.pathfinder().resetPaths();
|
world.pathfinder().resetPaths();
|
||||||
state.lastUpdated = state.wave + 1;
|
state.lastUpdated = state.wave + 1;
|
||||||
}
|
}
|
||||||
}else{
|
}else if(!world.getMap().name.equals("tutorial")){
|
||||||
state.extrawavetime -= delta();
|
state.extrawavetime -= delta();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user