Minor bugfix
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user