Skip to content

Commit

Permalink
Quick little check to prevent runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
Michiyamenotehifunana committed May 23, 2023
1 parent 67b29e4 commit e1a096d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/aberrants/organs/machinery/organ_fabricator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@

// Remove when actual organ research is made
for(var/obj/machinery/reagentgrinder/industrial/disgorger/D in get_area_all_atoms(get_area(src)))
for(var/design in D.knowledge.known_designs)
files.AddDesign2Known(design)
if(D.knowledge) //OCCULUS EDIT
for(var/design in D.knowledge.known_designs)
files.AddDesign2Known(design)

/obj/machinery/autolathe/organ_fabricator/res_load()
if(working || paused || error)
Expand Down

0 comments on commit e1a096d

Please sign in to comment.