From 7509adbbe8e78d5e6d7f80ff007b24a8044ccb4a Mon Sep 17 00:00:00 2001 From: Raeschen Date: Fri, 14 Jul 2023 23:37:46 +0200 Subject: [PATCH] Update find_spawning.dm --- code/modules/xenoarcheaology/finds/find_spawning.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/xenoarcheaology/finds/find_spawning.dm b/code/modules/xenoarcheaology/finds/find_spawning.dm index a62fe3219f..5b4f91a08d 100644 --- a/code/modules/xenoarcheaology/finds/find_spawning.dm +++ b/code/modules/xenoarcheaology/finds/find_spawning.dm @@ -687,7 +687,7 @@ if(talkative) new_item.talking_atom = new(new_item) - if(new_item.vars["origin_tech"]) //ChompEDIT - fix runtimes with items that don't have this var + if("origin_tech" in new_item.vars) //ChompEDIT - fix runtimes with items that don't have this var LAZYINITLIST(new_item.origin_tech) new_item.origin_tech[TECH_ARCANE] += 1 new_item.origin_tech[TECH_PRECURSOR] += 1