mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-08 23:07:33 +07:00
Let server console know which map was randomly picked (#980)
This commit is contained in:

committed by
Anuken

parent
51d08c6f42
commit
326b1e9f62
@ -230,6 +230,7 @@ public class ServerControl implements ApplicationListener{
|
|||||||
}else{
|
}else{
|
||||||
Array<Map> maps = Vars.maps.customMaps().size == 0 ? Vars.maps.defaultMaps() : Vars.maps.customMaps();
|
Array<Map> maps = Vars.maps.customMaps().size == 0 ? Vars.maps.defaultMaps() : Vars.maps.customMaps();
|
||||||
result = maps.random();
|
result = maps.random();
|
||||||
|
info("Randomized next map to be {0}.", result.name());
|
||||||
}
|
}
|
||||||
|
|
||||||
Gamemode preset = Gamemode.survival;
|
Gamemode preset = Gamemode.survival;
|
||||||
|
Reference in New Issue
Block a user