From fa3c392f464884f32c286fd3ae026e9a2ff3b3b2 Mon Sep 17 00:00:00 2001 From: uraniummeltdown Date: Wed, 11 Jan 2017 18:45:50 +0400 Subject: [PATCH] small fix --- code/game/gamemodes/changeling/powers/tiny_prick.dm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/code/game/gamemodes/changeling/powers/tiny_prick.dm b/code/game/gamemodes/changeling/powers/tiny_prick.dm index 7fd81fa963e..3595d0bf521 100644 --- a/code/game/gamemodes/changeling/powers/tiny_prick.dm +++ b/code/game/gamemodes/changeling/powers/tiny_prick.dm @@ -80,11 +80,10 @@ selected_dna = changeling.select_dna("Select the target DNA: ", "Target DNA") if(!selected_dna) return - if(selected_dna) - var/datum/species/newspecies = all_species[selected_dna.species] - if((newspecies.flags & NOTRANSSTING) || newspecies.is_small) - to_chat(user, "The selected DNA is incompatible with our sting.") - return FALSE + var/datum/species/newspecies = all_species[selected_dna.species] + if((newspecies.flags & NOTRANSSTING) || newspecies.is_small) + to_chat(user, "The selected DNA is incompatible with our sting.") + return ..() /obj/effect/proc_holder/changeling/sting/transformation/can_sting(var/mob/user, var/mob/target)