Merge pull request #14577 from SandPoot/fixes-machines

Prevents machines that open from dropping their components
This commit is contained in:
silicons
2021-04-08 03:24:51 -06:00
committed by GitHub
+2
View File
@@ -519,6 +519,8 @@ Class Procs:
//called on machinery construction (i.e from frame to machinery) but not on initialization
/obj/machinery/proc/on_construction()
for(var/obj/I in contents)
I.moveToNullspace()
return
//called on deconstruction before the final deletion