mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user