mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
Items set to stay or respawn no longer get picked up locally
This commit is contained in:
parent
e64e33f4a7
commit
c90a3290fe
1 changed files with 1 additions and 1 deletions
|
@ -781,7 +781,7 @@ class Inventory : Actor
|
|||
if (HasPickedUpLocally(toucher))
|
||||
return;
|
||||
|
||||
localPickUp = CanPickUpLocally(toucher);
|
||||
localPickUp = CanPickUpLocally(toucher) && !ShouldStay() && !ShouldRespawn();
|
||||
}
|
||||
|
||||
bool localview = toucher.CheckLocalView();
|
||||
|
|
Loading…
Reference in a new issue