Fixed about dialog not showing the right text
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
package io.anuke.mindustry.ui.dialogs;
|
||||
|
||||
import static io.anuke.mindustry.Vars.aboutText;
|
||||
|
||||
public class AboutDialog extends FloatingDialog {
|
||||
|
||||
public AboutDialog(){
|
||||
super("$text.about.button");
|
||||
|
||||
addCloseButton();
|
||||
|
||||
for(String text : aboutText){
|
||||
content().add(text).left();
|
||||
content().row();
|
||||
}
|
||||
content().add("$text.about");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user