Items set to stay or respawn no longer get picked up locally

This commit is contained in:
Boondorl 2024-01-28 19:56:46 -05:00 committed by Rachael Alexanderson
parent e64e33f4a7
commit c90a3290fe

View file

@ -781,7 +781,7 @@ class Inventory : Actor
if (HasPickedUpLocally(toucher)) if (HasPickedUpLocally(toucher))
return; return;
localPickUp = CanPickUpLocally(toucher); localPickUp = CanPickUpLocally(toucher) && !ShouldStay() && !ShouldRespawn();
} }
bool localview = toucher.CheckLocalView(); bool localview = toucher.CheckLocalView();