From c90a3290fe45d6e657a41622580b110cbbdbede4 Mon Sep 17 00:00:00 2001 From: Boondorl Date: Sun, 28 Jan 2024 19:56:46 -0500 Subject: [PATCH] Items set to stay or respawn no longer get picked up locally --- wadsrc/static/zscript/actors/inventory/inventory.zs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/actors/inventory/inventory.zs b/wadsrc/static/zscript/actors/inventory/inventory.zs index 3b1514411e..c5680e05ec 100644 --- a/wadsrc/static/zscript/actors/inventory/inventory.zs +++ b/wadsrc/static/zscript/actors/inventory/inventory.zs @@ -781,7 +781,7 @@ class Inventory : Actor if (HasPickedUpLocally(toucher)) return; - localPickUp = CanPickUpLocally(toucher); + localPickUp = CanPickUpLocally(toucher) && !ShouldStay() && !ShouldRespawn(); } bool localview = toucher.CheckLocalView();