151 {
152 super.SetInactive(stop_timer);
153
154
155 for (int att = 0; att < GetInventory().AttachmentCount(); att++)
156 {
157 ItemBase attachment =
ItemBase.Cast(GetInventory().GetAttachmentFromIndex(att));
158 if (attachment)
159 {
160 if (attachment.IsLockedInSlot())
161 {
162 attachment.UnlockFromParent();
163 }
164
165 attachment.OnActivatedByItem(this);
166 GetInventory().DropEntity(
InventoryMode.SERVER,
this, attachment);
167 }
168 }
169 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.