Minor bugfix

This commit is contained in:
Anuken
2018-08-09 22:20:46 -04:00
parent 79abb86262
commit 2b23b7876a
3 changed files with 2 additions and 3 deletions

View File

@@ -169,7 +169,6 @@ project(":core") {
build.finalizedBy(finish) build.finalizedBy(finish)
def comp = System.properties["release"] == null || System.properties["release"] == "false" def comp = System.properties["release"] == null || System.properties["release"] == "false"
if(!comp) println("Note: Compiling release build.") if(!comp) println("Note: Compiling release build.")
if(new File(projectDir.parent, '../uCore').exists() && comp){ if(new File(projectDir.parent, '../uCore').exists() && comp){

View File

@@ -187,7 +187,7 @@ public class FortressGenerator{
Block fixBlock(Block result){ Block fixBlock(Block result){
if(result == UnitBlocks.resupplyPoint) result = DefenseBlocks.tungstenWall; if(result == UnitBlocks.resupplyPoint) result = DefenseBlocks.tungstenWall;
if(result == UnitBlocks.monsoonPad) result = DefenseBlocks.tungstenWallLarge; if(result == UnitBlocks.dronePad) result = DefenseBlocks.tungstenWallLarge;
if(result == UnitBlocks.fabricatorPad) result = DefenseBlocks.tungstenWallLarge; if(result == UnitBlocks.fabricatorPad) result = DefenseBlocks.tungstenWallLarge;
return result; return result;
} }

View File

@@ -40,7 +40,7 @@ import java.io.IOException;
public class UnitPad extends Block{ public class UnitPad extends Block{
protected float gracePeriodMultiplier = 23f; protected float gracePeriodMultiplier = 23f;
protected float speedupTime = 60f * 60f * 20; protected float speedupTime = 60f * 60f * 20;
protected float maxSpeedup = 7f; protected float maxSpeedup = 2f;
protected UnitType type; protected UnitType type;
protected float produceTime = 1000f; protected float produceTime = 1000f;