Unit naming / Fixed #2209
This commit is contained in:
@@ -102,8 +102,7 @@ public abstract class Turret extends Block{
|
||||
|
||||
stats.add(BlockStat.shootRange, range / tilesize, StatUnit.blocks);
|
||||
stats.add(BlockStat.inaccuracy, (int)inaccuracy, StatUnit.degrees);
|
||||
stats.add(BlockStat.reload, 60f / reloadTime, StatUnit.none);
|
||||
stats.add(BlockStat.shots, shots, StatUnit.none);
|
||||
stats.add(BlockStat.reload, 60f / reloadTime * shots, StatUnit.none);
|
||||
stats.add(BlockStat.targetsAir, targetAir);
|
||||
stats.add(BlockStat.targetsGround, targetGround);
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ public class Sorter extends Block{
|
||||
}
|
||||
|
||||
boolean isSame(Building other){
|
||||
//uncomment comment below to prevent sorter/gate chaining (hacky)
|
||||
//uncomment code below to prevent sorter/gate chaining
|
||||
return other != null && (other.block() instanceof Sorter/* || other.block() instanceof OverflowGate */);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user