mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-10 07:47:25 +07:00
Display map names with underscores (#4819)
This makes it obvious how to specify map names with spaces. It also allows for copy-pasting form the output of `maps`.
This commit is contained in:
@ -339,7 +339,7 @@ public class ServerControl implements ApplicationListener{
|
||||
if(!maps.all().isEmpty()){
|
||||
info("Maps:");
|
||||
for(Map map : maps.all()){
|
||||
info(" @: &fi@ / @x@", map.name(), map.custom ? "Custom" : "Default", map.width, map.height);
|
||||
info(" @: &fi@ / @x@", map.name().replace(' ', '_'), map.custom ? "Custom" : "Default", map.width, map.height);
|
||||
}
|
||||
}else{
|
||||
info("No maps found.");
|
||||
|
Reference in New Issue
Block a user