Rounding of research amounts
This commit is contained in:
@@ -3,6 +3,7 @@ package mindustry.ui;
|
||||
import arc.scene.ui.layout.*;
|
||||
import arc.struct.*;
|
||||
import mindustry.*;
|
||||
import mindustry.core.*;
|
||||
import mindustry.type.*;
|
||||
import mindustry.world.blocks.storage.CoreBlock.*;
|
||||
|
||||
@@ -41,7 +42,7 @@ public class CoreItemsDisplay extends Table{
|
||||
for(Item item : content.items()){
|
||||
if(usedItems.contains(item)){
|
||||
image(item.icon(Cicon.small)).padRight(3);
|
||||
label(() -> core == null ? "0" : ui.formatAmount(core.items.get(item))).padRight(3);
|
||||
label(() -> core == null ? "0" : UI.formatAmount(core.items.get(item))).padRight(3);
|
||||
|
||||
if(++i % 4 == 0){
|
||||
row();
|
||||
|
||||
Reference in New Issue
Block a user