From c64d9a0f5129740faa61ff824d45edfda3876819 Mon Sep 17 00:00:00 2001 From: Antoonij <42318445+Antoonij@users.noreply.github.com> Date: Mon, 16 Dec 2024 08:07:06 +0100 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=BF=D1=81.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/game/objects/items/weapons/dna_upgrader.dm | 2 +- code/modules/station_goals/dna_vault.dm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/objects/items/weapons/dna_upgrader.dm b/code/game/objects/items/weapons/dna_upgrader.dm index 56e6ed2124d..018277ba3fe 100644 --- a/code/game/objects/items/weapons/dna_upgrader.dm +++ b/code/game/objects/items/weapons/dna_upgrader.dm @@ -32,7 +32,7 @@ return FALSE if(used) - balloon_alert(human, "Инъектор пуст!") + balloon_alert(human, "инъектор пуст!") return FALSE if(HAS_TRAIT(human, TRAIT_NO_DNA)) diff --git a/code/modules/station_goals/dna_vault.dm b/code/modules/station_goals/dna_vault.dm index 0799903e172..bd1ca2fb4d7 100644 --- a/code/modules/station_goals/dna_vault.dm +++ b/code/modules/station_goals/dna_vault.dm @@ -166,7 +166,7 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/l /obj/machinery/dna_vault/New() // TODO: Replace this, bsa and gravgen with some big machinery datum - LAZYINITLIST(occupied) + var/list/occupied for(var/direct in list(EAST, WEST, SOUTHEAST, SOUTHWEST)) LAZYADD(occupied, get_step(src, direct)) @@ -225,7 +225,7 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/l if(LAZYIN(power_lottery, user)) return - LAZYINITLIST(genes) + var/list/genes for(var/datum/vault_gene/gene as anything in subtypesof(/datum/vault_gene)) if(!initial(gene.name)) @@ -236,7 +236,7 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/l if(!LAZYLEN(genes)) CRASH("[src] rolled 0 genes.") - LAZYINITLIST(picked_genes) + var/list/picked_genes LAZYADD(picked_genes, pick_n_take(genes)) LAZYADD(picked_genes, pick_n_take(genes))