- weapons are not artifacts.

This commit is contained in:
Christoph Oelckers 2022-07-14 00:12:20 +02:00
parent e3238cd5b7
commit b719ab53f8

View file

@ -364,7 +364,7 @@ extend class PlayerPawn
for (int i = 0; i < AllActorClasses.Size(); ++i) for (int i = 0; i < AllActorClasses.Size(); ++i)
{ {
type = (class<Inventory>)(AllActorClasses[i]); type = (class<Inventory>)(AllActorClasses[i]);
if (type!= null && !(type is "PuzzleItem") && !(type is "Powerup") && !(type is "Ammo") && !(type is "Armor") && !(type is "Key")) if (type!= null && !(type is "PuzzleItem") && !(type is "Powerup") && !(type is "Ammo") && !(type is "Armor") && !(type is "Key") && !(type is "Weapon"))
{ {
let pack = FindInventory(type); let pack = FindInventory(type);
if (pack) pack.Destroy(); if (pack) pack.Destroy();