15 m_IndexQB =
m_Player.FindQuickBarEntityIndex(old_item);
23 override void CopyOldPropertiesToNew(notnull
EntityAI old_item,
EntityAI new_item)
25 super.CopyOldPropertiesToNew(old_item, new_item);
27 if (m_Player && m_IndexQB != -1)
29 m_Player.SetQuickBarEntityShortcut(new_item, m_IndexQB,
true);
33 override void OnSuccess(
EntityAI new_item)
35 super.OnSuccess(new_item);
37 if (m_Player && m_IndexQB != -1)
39 m_Player.SetQuickBarEntityShortcut(new_item, m_IndexQB,
true);