private void OnDetach() { BuffController buff = BuffController.MakeNewIfNone(this.block.tank); if (this.pointer.GetType() == typeof(ModuleRemoteCharger)) { buff.RemoveCharger((ModuleRemoteCharger)this.pointer); } }
private void OnDetach() { BuffController buff = BuffController.MakeNewIfNone(this.block.tank); if (this.pointer.GetType() == typeof(ModuleRemoteCharger)) { buff.RemoveCharger((ModuleRemoteCharger)this.pointer); } }