From e1d9bedff0a4488823152bf2cc9df91496d1f8b5 Mon Sep 17 00:00:00 2001 From: TheSaminator Date: Fri, 24 Jun 2022 17:15:00 -0400 Subject: [PATCH] oops --- .../net/starshipfights/game/game_start_jvm.kt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/jvmMain/kotlin/net/starshipfights/game/game_start_jvm.kt b/src/jvmMain/kotlin/net/starshipfights/game/game_start_jvm.kt index d184cf6..3cfca24 100644 --- a/src/jvmMain/kotlin/net/starshipfights/game/game_start_jvm.kt +++ b/src/jvmMain/kotlin/net/starshipfights/game/game_start_jvm.kt @@ -124,7 +124,13 @@ suspend fun generate2v1GameInitialState(player1Info: InGameAdmiral, player2Info: ) ), battleInfo = battleInfo, - subplots = generateSubplots(battleInfo.size, GlobalShipController(GlobalSide.HOST, GlobalShipController.Player1Disambiguation)) + subplots = generateSubplots( + battleInfo.size, + GlobalShipController(GlobalSide.HOST, GlobalShipController.Player1Disambiguation) + ) + generateSubplots( + battleInfo.size, + GlobalShipController(GlobalSide.HOST, GlobalShipController.Player2Disambiguation) + ) ) } @@ -182,12 +188,6 @@ suspend fun generateTrainingInitialState(playerInfo: InGameAdmiral, enemyFaction ) ), battleInfo = battleInfo, - subplots = generateSubplots( - battleInfo.size, - GlobalShipController(GlobalSide.HOST, GlobalShipController.Player1Disambiguation) - ) + generateSubplots( - battleInfo.size, - GlobalShipController(GlobalSide.HOST, GlobalShipController.Player2Disambiguation) - ) + subplots = generateSubplots(battleInfo.size, GlobalShipController(GlobalSide.HOST, GlobalShipController.Player1Disambiguation)) ) } -- 2.25.1