From c0f8d4c0bb18f6d678e7c823d7df1d8c3bf4a563 Mon Sep 17 00:00:00 2001 From: DeltaFire <46569814+DeltaFire15@users.noreply.github.com> Date: Sat, 2 Dec 2023 07:51:06 +0100 Subject: [PATCH] oop --- .../ship_weapons/ballistic_weapons/revision2/automation.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsv13/code/modules/munitions/ship_weapons/ballistic_weapons/revision2/automation.dm b/nsv13/code/modules/munitions/ship_weapons/ballistic_weapons/revision2/automation.dm index 2e1ec805bba..a2db550a719 100644 --- a/nsv13/code/modules/munitions/ship_weapons/ballistic_weapons/revision2/automation.dm +++ b/nsv13/code/modules/munitions/ship_weapons/ballistic_weapons/revision2/automation.dm @@ -186,7 +186,7 @@ playsound(src, 'sound/machines/buzz-sigh.ogg', 50, 0) return var/obj/item/ship_weapon/parts/missile/torpedo_part = held_components[1] - if(!(torpedo_part.fits_type && !istype(torpedo_target, torpedo_part.fits_type)) || torpedo_target.state != torpedo_part.target_state) + if((torpedo_part.fits_type && !istype(torpedo_target, torpedo_part.fits_type)) || torpedo_target.state != torpedo_part.target_state) visible_message("[src] sighs.") playsound(src, 'sound/machines/buzz-sigh.ogg', 50, 0) return