From b719ab53f87644fa05a54f736d6b7e7293f12cd5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 14 Jul 2022 00:12:20 +0200 Subject: [PATCH] - weapons are not artifacts. --- wadsrc/static/zscript/actors/player/player_cheat.zs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/actors/player/player_cheat.zs b/wadsrc/static/zscript/actors/player/player_cheat.zs index cd80d2976d..fb471e19d2 100644 --- a/wadsrc/static/zscript/actors/player/player_cheat.zs +++ b/wadsrc/static/zscript/actors/player/player_cheat.zs @@ -364,7 +364,7 @@ extend class PlayerPawn for (int i = 0; i < AllActorClasses.Size(); ++i) { type = (class)(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); if (pack) pack.Destroy();