Skip to content

Commit

Permalink
oop
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaFire15 committed Dec 2, 2023
1 parent bb1d751 commit c0f8d4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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("<span class='notice'>[src] sighs.</span>")
playsound(src, 'sound/machines/buzz-sigh.ogg', 50, 0)
return
Expand Down

0 comments on commit c0f8d4c

Please sign in to comment.