public void osVolumeDetect(int detect) { m_host.AddScriptLPS(1); if (m_host.ParentGroup == null || m_host.ParentGroup.IsDeleted || m_host.ParentGroup.IsAttachment) return; m_host.ScriptSetVolumeDetect(detect != 0); }