Fixed take ammo cheat

https://forum.zdoom.org/viewtopic.php?t=58854
This commit is contained in:
alexey.lysiuk 2017-12-24 11:00:02 +02:00
parent 563a80ff83
commit aacdc3546c

View file

@ -272,7 +272,7 @@ extend class PlayerPawn
if (type != null && type is deletetype)
{
let pack = FindInventory(type);
if (pack) pack.Destroy();
if (pack) pack.DepleteOrDestroy();
}
}
}