I forgor
authorTheSaminator <TheSaminator@users.noreply.github.com>
Sat, 5 Mar 2022 00:35:02 +0000 (19:35 -0500)
committerTheSaminator <TheSaminator@users.noreply.github.com>
Sat, 5 Mar 2022 00:35:02 +0000 (19:35 -0500)
src/commonMain/kotlin/starshipfights/game/ship_weapons.kt

index b23df0d7e87723e25cb51f02a13bf68dc01c22cb..e4158e73fbfb316e2e796ff3f1dfe8041444077b 100644 (file)
@@ -325,7 +325,7 @@ fun ShipInstance.afterTargeted(by: ShipInstance, weaponId: Id<ShipWeapon>) = 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 -> {