1
0
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:
Slava0135 2021-04-12 22:18:55 +03:00 committed by GitHub
parent 865d0082cc
commit 6cfb88a2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);