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