mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-10 12:09:27 +02:00
fixed bar,added item update rate setting
This commit is contained in:
@@ -13,6 +13,7 @@ import mindustry.ui.*;
|
||||
import mindustry.world.blocks.storage.*;
|
||||
|
||||
import static UnitInfo.SVars.modUiScale;
|
||||
import static arc.Core.settings;
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
public class CoresItemsDisplay {
|
||||
@@ -74,7 +75,7 @@ public class CoresItemsDisplay {
|
||||
core = team.core();
|
||||
|
||||
heat += Time.delta;
|
||||
if(heat >= 60f) {
|
||||
if(heat >= settings.getInt("coreItemCheckRate")) {
|
||||
heat = 0;
|
||||
updateItem(team);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user