Skip to content

Commit

Permalink
Quick edit so Simulation report is in consistent order (#12661)
Browse files Browse the repository at this point in the history
  • Loading branch information
itanasi authored Dec 16, 2024
1 parent b06708f commit f07444e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions core/src/com/unciv/logic/simulation/Simulation.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion desktop/src/com/unciv/app/desktop/ConsoleLauncher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f07444e

Please sign in to comment.