Skip to content

Commit

Permalink
fix(client): broken labs exfils
Browse files Browse the repository at this point in the history
  • Loading branch information
Trap committed Dec 27, 2024
1 parent e377498 commit 88f7b4d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions PTT-Plugin/Services/ExfilPromptService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ private OnActionsAppliedResult ExfilPromptHandler(ExfiltrationPoint exfil, Custo

private OnActionsAppliedResult RequiresManualActivation(ExfiltrationPoint exfil, CustomExfilTrigger customExfilTrigger, bool exfilIsAvailableToPlayer)
{
// customExfilTrigger is null for some special exfils (like labs elevators)
if (customExfilTrigger == null)
{
return null;
}

// TODO: find out why it doesn't work as intended? (in some cases, when player enable/disable the bepinex setting manually)
customExfilTrigger.RequiresManualActivation = true;
return null;
Expand Down

0 comments on commit 88f7b4d

Please sign in to comment.