From d08b93b29fa2a92a587a9fbcfcc04f977c8f40c2 Mon Sep 17 00:00:00 2001 From: Rhials <28870487+Rhials@users.noreply.github.com> Date: Tue, 8 Apr 2025 23:22:18 -0400 Subject: [PATCH] Genetic mutation injectors will not use a charge when spent on incompatible mobs (#90490) ## About The Pull Request This makes it so incompatible DNA injectors do not expend a charge when used on an incompatible mob. ## Why It's Good For The Game This shouldn't burn a charge. It should be a warning message. ## Changelog :cl: Rhials fix: Mutation injectors used on incompatible mobs will no longer burn a charge. /:cl: --- code/game/objects/items/dna_injector.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/objects/items/dna_injector.dm b/code/game/objects/items/dna_injector.dm index 4ede441b3eb..2bd19f5e619 100644 --- a/code/game/objects/items/dna_injector.dm +++ b/code/game/objects/items/dna_injector.dm @@ -94,6 +94,7 @@ if(!inject(target, user)) //Now we actually do the heavy lifting. to_chat(user, span_notice("It appears that [target] does not have compatible DNA.")) + return used = TRUE update_appearance()