mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 19:19:12 +01:00
Merge pull request #9895 from Novacat/nova-basicfixes
Fixes Industrial Expansion
This commit is contained in:
@@ -26,6 +26,16 @@ using metal and glass, it uses glass and reagents (usually sulphuric acid).
|
||||
|
||||
/obj/machinery/r_n_d/circuit_imprinter/Initialize()
|
||||
. = ..()
|
||||
|
||||
spawn() // Go through all materials, and add them to the possible storage, but hide them unless we contain them.
|
||||
for(var/Name in name_to_material)
|
||||
if(Name in materials)
|
||||
continue
|
||||
|
||||
hidden_materials |= Name
|
||||
|
||||
materials[Name] = 0
|
||||
|
||||
default_apply_parts()
|
||||
|
||||
/obj/machinery/r_n_d/circuit_imprinter/process()
|
||||
|
||||
@@ -40,6 +40,16 @@
|
||||
|
||||
/obj/machinery/r_n_d/protolathe/Initialize()
|
||||
. = ..()
|
||||
|
||||
// Go through all materials, and add them to the possible storage, but hide them unless we contain them.
|
||||
for(var/Name in name_to_material)
|
||||
if(Name in materials)
|
||||
continue
|
||||
|
||||
hidden_materials |= Name
|
||||
|
||||
materials[Name] = 0
|
||||
|
||||
default_apply_parts()
|
||||
|
||||
/obj/machinery/r_n_d/protolathe/process()
|
||||
|
||||
Reference in New Issue
Block a user