Skip to content

Commit

Permalink
Items set to stay or respawn no longer get picked up locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Boondorl authored and madame-rachelle committed Feb 1, 2024
1 parent e64e33f commit c90a329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/actors/inventory/inventory.zs
Expand Up @@ -781,7 +781,7 @@ class Inventory : Actor
if (HasPickedUpLocally(toucher))
return;

localPickUp = CanPickUpLocally(toucher);
localPickUp = CanPickUpLocally(toucher) && !ShouldStay() && !ShouldRespawn();
}

bool localview = toucher.CheckLocalView();
Expand Down

0 comments on commit c90a329

Please sign in to comment.