Skip to content

Commit c6d82be

Browse files
committed
Allowed drills to output multiple items per frame
1 parent 18b78f4 commit c6d82be

File tree

1 file changed

+4
-1
lines changed
  • core/src/mindustry/world/blocks/production

1 file changed

+4
-1
lines changed

core/src/mindustry/world/blocks/production/Drill.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,10 @@ public void updateTile(){
315315
}
316316

317317
if(dominantItems > 0 && progress >= delay && items.total() < itemCapacity){
318-
offload(dominantItem);
318+
int amount = (int)(progress / delay);
319+
for(int i = 0; i < amount; i++){
320+
offload(dominantItem);
321+
}
319322

320323
progress %= delay;
321324

0 commit comments

Comments
 (0)