mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-21 05:17:50 +03:00
redundant field in DrillBuild (#5101)
This commit is contained in:
parent
865d0082cc
commit
6cfb88a2e8
@ -200,7 +200,6 @@ public class Drill extends Block{
|
||||
|
||||
public class DrillBuild extends Building{
|
||||
public float progress;
|
||||
public int index;
|
||||
public float warmup;
|
||||
public float timeDrilled;
|
||||
public float lastDrillSpeed;
|
||||
@ -280,7 +279,6 @@ public class Drill extends Block{
|
||||
if(dominantItems > 0 && progress >= delay && items.total() < itemCapacity){
|
||||
offload(dominantItem);
|
||||
|
||||
index ++;
|
||||
progress %= delay;
|
||||
|
||||
drillEffect.at(x + Mathf.range(size), y + Mathf.range(size), dominantItem.color);
|
||||
|
Loading…
Reference in New Issue
Block a user