Skip to content

Commit

Permalink
Update IsUserInSeatedMode.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xlinka committed May 1, 2024
1 parent b626d5a commit 2ea3ad0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ProjectObsidian/ProtoFlux/Users/Status/IsUserInSeatedMode.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using ProtoFlux.Core;
using FrooxEngine;
using FrooxEngine.ProtoFlux;
using ProtoFlux.Core;
using ProtoFlux.Runtimes.Execution;

namespace ProtoFlux.Runtimes.Execution.Nodes.Obsidian.Users.Status
Expand All @@ -8,7 +10,7 @@ public class IsUserInSeatedModeNode : ValueFunctionNode<FrooxEngineContext, bool
{
public readonly ObjectInput<User> User;

protected override bool Compute(ExecutionContext context)
protected override bool Compute(FrooxEngineContext context)
{
User user = User.Evaluate(context);
return user == null ? false : user.InputInterface.SeatedMode;
Expand Down

1 comment on commit 2ea3ad0

@LeCloutPanda
Copy link
Contributor

@LeCloutPanda LeCloutPanda commented on 2ea3ad0 May 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No fuck you it built and worked.
Resonite_ttJ3AHIwZv

Something might have changed in the mean time idk but fuck you it did work.

Please sign in to comment.