mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-10 03:59:26 +02:00
update gradle, fixed overflow in wave display
This commit is contained in:
@@ -15,7 +15,7 @@ import static arc.Core.*;
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
public class WaveInfoDisplay {
|
||||
public boolean waveShown;
|
||||
private boolean waveShown;
|
||||
|
||||
public void addWaveInfoTable() {
|
||||
Table waveInfoTable = new Table(Tex.buttonEdge4, table -> {
|
||||
|
||||
@@ -155,7 +155,7 @@ public class WaveWindow extends Window implements Updatable {
|
||||
ObjectIntMap<SpawnGroup> groups = getWaveGroup(index-1);
|
||||
|
||||
int row = 0;
|
||||
int max = Math.max(1, Math.round(window.getWidth()/2/8));
|
||||
int max = Math.max(1, Math.round(window.getWidth()/64)-5);
|
||||
for (SpawnGroup group : groups.keys()) {
|
||||
int spawners = state.rules.waveTeam.cores().size + (group.type.flying ? spawner.countFlyerSpawns() : spawner.countGroundSpawns());
|
||||
int amount = groups.get(group);
|
||||
|
||||
Reference in New Issue
Block a user