Added temporary credit text for sector submissions

This commit is contained in:
Anuken
2026-01-19 08:50:29 +09:00
parent 08c1a7aa29
commit 9150360f74
2 changed files with 8 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
package mindustry.ui.dialogs;
import arc.*;
import arc.graphics.*;
import arc.scene.actions.*;
import arc.scene.ui.*;
import arc.scene.ui.layout.*;
@@ -103,6 +104,12 @@ public class ContentInfoDialog extends BaseDialog{
table.row();
}
//TODO: move this into a final end-game credit sequence. this is temporary and thus not localized
if(content.credit != null){
table.row();
table.add("Created by: " + content.credit).color(Color.gray).padTop(40f).row();
}
if(settings.getBool("console")){
table.button("@viewfields", Icon.link, Styles.grayt, () -> {
Class<?> contentClass = content.getClass();