- fixed: The PrisonPass's TryPickup method did not properly report successful pickup.

This commit is contained in:
Christoph Oelckers 2021-05-17 11:51:06 +02:00
parent e47671c865
commit ebbc94280e

View file

@ -559,10 +559,10 @@ class PrisonPass : Key
override bool TryPickup (in out Actor toucher) override bool TryPickup (in out Actor toucher)
{ {
Super.TryPickup (toucher); bool res = Super.TryPickup (toucher);
Door_Open(223, 16); Door_Open(223, 16);
toucher.GiveInventoryType ("QuestItem10"); toucher.GiveInventoryType ("QuestItem10");
return true; return res;
} }
//============================================================================ //============================================================================