Skip to content

Commit

Permalink
- fixed: The PrisonPass's TryPickup method did not properly report su…
Browse files Browse the repository at this point in the history
…ccessful pickup.
  • Loading branch information
coelckers committed May 17, 2021
1 parent e47671c commit ebbc942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wadsrc/static/zscript/actors/strife/strifeitems.zs
Expand Up @@ -559,10 +559,10 @@ class PrisonPass : Key

override bool TryPickup (in out Actor toucher)
{
Super.TryPickup (toucher);
bool res = Super.TryPickup (toucher);
Door_Open(223, 16);
toucher.GiveInventoryType ("QuestItem10");
return true;
return res;
}

//============================================================================
Expand Down

0 comments on commit ebbc942

Please sign in to comment.