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