From: TheSaminator Date: Fri, 3 Jun 2022 20:53:03 +0000 (-0400) Subject: Fix ship using fighters on itself X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=7663322ceae51228f56dc328ce7e00eb5eaf4a59;p=starship-fights Fix ship using fighters on itself --- diff --git a/plan/icons/weapons.svg b/plan/icons/weapons.svg new file mode 100644 index 0000000..a2ef6b6 --- /dev/null +++ b/plan/icons/weapons.svg @@ -0,0 +1,110 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/src/commonMain/kotlin/starshipfights/game/ship_weapons.kt b/src/commonMain/kotlin/starshipfights/game/ship_weapons.kt index a54233e..97407c2 100644 --- a/src/commonMain/kotlin/starshipfights/game/ship_weapons.kt +++ b/src/commonMain/kotlin/starshipfights/game/ship_weapons.kt @@ -700,18 +700,27 @@ fun GameState.useWeaponPickResponse(attacker: ShipInstance, weaponId: Id