mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 06:40:08 +01:00
Merge pull request #6577 from CHOMPStation2/Raeschen-patch-1
boat origin tech runtime persists, try 2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user