Get max 1 power from the DNA vaults (#15197)

Co-authored-by: joep van der velden <15887760+farie82@users.noreply.github.com>
This commit is contained in:
Farie82
2020-12-30 12:13:07 +01:00
committed by GitHub
parent b37ec95dd3
commit cb72bbe0bc
3 changed files with 37 additions and 26 deletions
+3 -1
View File
@@ -164,7 +164,7 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/m
var/list/dna = list()
var/completed = FALSE
var/list/power_lottery = list()
var/static/list/power_lottery = list()
var/list/obj/structure/fillers = list()
@@ -254,6 +254,8 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/m
data["used"] = FALSE
data["choiceA"] = L[1]
data["choiceB"] = L[2]
else if(L)
data["used"] = TRUE
return data
/obj/machinery/dna_vault/ui_act(action, params)