From 78a4572388f0cefe4f5b710eff1d5c5e9c9ad45d Mon Sep 17 00:00:00 2001 From: buthed010203 Date: Thu, 30 Sep 2021 13:01:52 -0400 Subject: [PATCH] Add "infotable" name to hudfrag (#6082) In another attempt to make my client more compatible with mods, I am adding this so it can be found by name rather than by index --- core/src/mindustry/ui/fragments/HudFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/mindustry/ui/fragments/HudFragment.java b/core/src/mindustry/ui/fragments/HudFragment.java index cf54cb6eae..bfe976d3f3 100644 --- a/core/src/mindustry/ui/fragments/HudFragment.java +++ b/core/src/mindustry/ui/fragments/HudFragment.java @@ -778,6 +778,7 @@ public class HudFragment extends Fragment{ } private void addInfoTable(Table table){ + table.name = "infotable"; table.left(); var count = new float[]{-1};