Fixing more issues with genetics. tested [NO GBP] (#91565)

## About The Pull Request
Fixing more stuff because I didn't test it properly before.

## Why It's Good For The Game
It should work now. Fix #91560.

## Changelog


🆑
fix: Fixed mutation injectors.
fix: Fixed mutadone turning actual monkeys into humonkeys.
/🆑
This commit is contained in:
Ghom
2025-06-15 15:54:09 -04:00
committed by Roxy
parent 513bc35058
commit 975770b9fe
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -172,7 +172,7 @@ GLOBAL_LIST_INIT(total_uf_len_by_block, populate_total_uf_len_by_block())
var/list/sources_to_add = sources.Copy() //make sure not to modify the original if it's stored in a variable outside this proc
if(!actual_mutation)
if(istype(mutation_to_add, /datum/mutation))
var/datum/mutation/mutation_instance
var/datum/mutation/mutation_instance = mutation_to_add
actual_mutation = mutation_instance.make_copy()
else
actual_mutation = new mutation_to_add
@@ -229,7 +229,7 @@ GLOBAL_LIST_INIT(total_uf_len_by_block, populate_total_uf_len_by_block())
/datum/dna/proc/remove_mutation_group(list/group, sources = GLOB.standard_mutation_sources)
if(!group)
return
for(var/datum/mutation/mutation in group)
for(var/mutation in group)
remove_mutation(mutation, sources)
/datum/dna/proc/generate_unique_identity()