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
🆑 Rhials
fix: Mutation injectors used on incompatible mobs will no longer burn a
charge.
/🆑
This commit is contained in:
Rhials
2025-04-29 17:45:30 -06:00
committed by Shadow-Quill
parent 96e76e5184
commit d08b93b29f
+1
View File
@@ -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()