Equipping a uniform restricted to another faction (e.g., a BLUFOR unit attempting to wear an OPFOR uniform) fails to equip the item, deletes the target uniform, and spawns a duplicated clone of the player's current uniform (along with its cargo) on the ground.
Steps to Reproduce:
Spawn a BLUFOR player and an OPFOR unit.
Kill the OPFOR unit.
Open the inventory and attempt to take/equip the enemy's uniform (e.g., right-click or drag to uniform slot).
Observe that the enemy uniform disappears from the corpse, the corpse becomes naked, and an exact duplicate of the player's current uniform (including inventory contents) is dropped on the ground.
Scripted Reproduction:
Running the command below on a BLUFOR unit produces the same deletion behavior on the player's worn uniform without equipping the target item:
player addUniform "U_O_CombatUniform_ocamo";
Expected Behavior:
The action should either be blocked (preventing equipping and leaving the original uniform untouched) or drop the target uniform on the ground without duplicating the player's existing uniform and cargo.