Added ability to detect if reactor and generator in the same part, it no reactor is attached.