public static void UpdateInstancePosition(WeaponDamageController attemptedConstruct) { if (attemptedConstruct == null) return; if (m_Instance == null) // should never happen, but if it does, make this the instance { m_Instance = attemptedConstruct; } else if (attemptedConstruct.Location != new Point3D(0,0,0)) // move the instance to it's location and delete it { m_Instance.Location = attemptedConstruct.Location; attemptedConstruct.Delete(); } }