Skip to content

Commit

Permalink
There we go done for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
LeCloutPanda committed Apr 3, 2024
1 parent b211ec1 commit ccdc82c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ProtoFlux/Users/Status/IsUserInSeatedMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ public class IsUserInSeatedModeNode : ValueFunctionNode<ExecutionContext, bool>
protected override bool Compute(ExecutionContext context)
{
User user = User.Evaluate(context);
if (user == null)
{
return false;
}

return user.InputInterface.SeatedMode;
return user == null ? false : user.InputInterface.SeatedMode;
}
}
}

0 comments on commit ccdc82c

Please sign in to comment.