From 9405ccaf931e620f9958244ed9b3337ed745e675 Mon Sep 17 00:00:00 2001 From: TheSaminator Date: Fri, 4 Mar 2022 19:35:02 -0500 Subject: [PATCH] I forgor --- src/commonMain/kotlin/starshipfights/game/ship_weapons.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commonMain/kotlin/starshipfights/game/ship_weapons.kt b/src/commonMain/kotlin/starshipfights/game/ship_weapons.kt index b23df0d..e4158e7 100644 --- a/src/commonMain/kotlin/starshipfights/game/ship_weapons.kt +++ b/src/commonMain/kotlin/starshipfights/game/ship_weapons.kt @@ -325,7 +325,7 @@ fun ShipInstance.afterTargeted(by: ShipInstance, weaponId: Id) = whe copy(fighterWings = fighterWings + setOf(ShipHangarWing(by.id, weaponId))) else copy(bomberWings = bomberWings + setOf(ShipHangarWing(by.id, weaponId))), - amount = 0 + amount = null ) } is ShipWeaponInstance.Torpedo -> { -- 2.25.1