Objective details

This commit is contained in:
Anuken
2022-04-13 16:51:11 -04:00
parent 693482df83
commit c01348af29
2 changed files with 10 additions and 2 deletions

View File

@@ -821,6 +821,16 @@ public class HudFragment{
table.row();
table.clicked(() -> {
if(state.rules.objectives.size > 0){
var first = state.rules.objectives.first();
if(first.details() != null){
//TODO this could be much better.
ui.showInfo(first.details);
}
}
});
return table;
}