mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-30 12:20:58 -08:00
Add file name printing (#5093)
This commit is contained in:
parent
aef7709764
commit
a55039447a
1 changed files with 5 additions and 1 deletions
|
|
@ -339,7 +339,11 @@ public class ServerControl implements ApplicationListener{
|
|||
if(!maps.all().isEmpty()){
|
||||
info("Maps:");
|
||||
for(Map map : maps.all()){
|
||||
info(" @: &fi@ / @x@", map.name().replace(' ', '_'), map.custom ? "Custom" : "Default", map.width, map.height);
|
||||
if(map.custom){
|
||||
info(" @ (@): &fiCustom / @x@", map.name().replace(' ', '_'), map.file.name(), map.width, map.height);
|
||||
}else{
|
||||
info(" @: &fiDefault / @x@", map.name().replace(' ', '_'), map.width, map.height);
|
||||
}
|
||||
}
|
||||
}else{
|
||||
info("No maps found.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue