New item bars / Map bugfixes / Stub wave editing
This commit is contained in:
@@ -20,6 +20,7 @@ public class DesktopLauncher extends Lwjgl3Application{
|
||||
Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
|
||||
config.setTitle("Mindustry");
|
||||
config.setMaximized(true);
|
||||
config.setBackBufferConfig(8, 8, 8, 8, 0, 0, 0);
|
||||
config.setWindowedMode(960, 540);
|
||||
config.setWindowIcon("sprites/icon.png");
|
||||
|
||||
|
||||
@@ -54,9 +54,9 @@ public class DesktopPlatform extends Platform{
|
||||
if(world.getMap() == null){
|
||||
presence.details = "Unknown Map";
|
||||
}else if(!state.rules.waves){
|
||||
presence.details = Strings.capitalize(world.getMap().getDisplayName());
|
||||
presence.details = Strings.capitalize(world.getMap().name());
|
||||
}else{
|
||||
presence.details = Strings.capitalize(world.getMap().getDisplayName()) + " | Wave " + state.wave;
|
||||
presence.details = Strings.capitalize(world.getMap().name()) + " | Wave " + state.wave;
|
||||
presence.largeImageText = "Wave " + state.wave;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user