mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 15:54:25 +07:00
Quick edit so Simulation report is in consistent order (#12661)
This commit is contained in:
parent
b06708ff1d
commit
f07444e030
@ -55,6 +55,7 @@ class Simulation(
|
||||
val jobs: ArrayList<Job> = ArrayList()
|
||||
println("Starting new game with major civs: "+newGameInfo.civilizations.filter { it.isMajorCiv() }.joinToString { it.civName }
|
||||
+ " and minor civs: "+newGameInfo.civilizations.filter { it.isCityState }.joinToString { it.civName })
|
||||
newGameInfo.gameParameters.shufflePlayerOrder = true
|
||||
for (threadId in 1..threadsNumber) {
|
||||
jobs.add(launch(CoroutineName("simulation-${threadId}")) {
|
||||
repeat(simulationsPerThread) {
|
||||
@ -64,6 +65,7 @@ class Simulation(
|
||||
gameInfo.nextTurn()
|
||||
|
||||
val step = SimulationStep(gameInfo)
|
||||
println("First: ${gameInfo.civilizations.first().civName}")
|
||||
|
||||
if (step.victoryType != null) {
|
||||
step.winner = step.currentPlayer
|
||||
|
@ -79,7 +79,6 @@ internal object ConsoleLauncher {
|
||||
numberOfCityStates = 0
|
||||
speed = Speed.DEFAULT
|
||||
noBarbarians = true
|
||||
shufflePlayerOrder = true
|
||||
players = ArrayList<Player>().apply {
|
||||
civilizations.forEach { add(Player(it)) }
|
||||
add(Player(Constants.spectator, PlayerType.Human))
|
||||
|
Loading…
Reference in New Issue
Block a user