Update DEV.md
This commit is contained in:
parent
b8bc4a58eb
commit
0c649b444e
5
DEV.md
5
DEV.md
@ -148,9 +148,10 @@ public function ThrowWeaponOnDeath()
|
|||||||
{
|
{
|
||||||
local KFWeapon KFW;
|
local KFWeapon KFW;
|
||||||
|
|
||||||
if (InvManager != None)
|
if (InvManager == None) return;
|
||||||
|
|
||||||
foreach InvManager.InventoryActors(class'KFWeapon', KFW)
|
foreach InvManager.InventoryActors(class'KFWeapon', KFW)
|
||||||
if (KFW != None && KFW.bDropOnDeath && KFW.CanThrow())
|
if (KFW.bDropOnDeath && KFW.CanThrow())
|
||||||
KFP.TossInventory(KFW);
|
KFP.TossInventory(KFW);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user