Merge pull request #14577 from SandPoot/fixes-machines
Prevents machines that open from dropping their components
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user