mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-30 12:20:58 -08:00
More info (#6465)
* change wave timer to display serverside when waves exist * show total and enemy units, not just enemy units * format
This commit is contained in:
parent
ec00f59b82
commit
3701ac131e
1 changed files with 1 additions and 3 deletions
|
|
@ -407,10 +407,9 @@ public class ServerControl implements ApplicationListener{
|
|||
info(" Playing on map &fi@ / Wave @", Strings.capitalize(Strings.stripColors(state.map.name())), state.wave);
|
||||
|
||||
if(state.rules.waves){
|
||||
info(" @ enemies.", state.enemies);
|
||||
}else{
|
||||
info(" @ seconds until next wave.", (int)(state.wavetime / 60));
|
||||
}
|
||||
info(" @ units / @ enemies", Groups.unit.size(), state.enemies);
|
||||
|
||||
info(" @ FPS, @ MB used.", Core.graphics.getFramesPerSecond(), Core.app.getJavaHeap() / 1024 / 1024);
|
||||
|
||||
|
|
@ -466,7 +465,6 @@ public class ServerControl implements ApplicationListener{
|
|||
info("&fi&lcServer: &fr@", "&lw" + arg[0]);
|
||||
});
|
||||
|
||||
|
||||
handler.register("pause", "<on/off>", "Pause or unpause the game.", arg -> {
|
||||
boolean pause = arg[0].equals("on");
|
||||
state.serverPaused = pause;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue