From 2ea3ad0bf2ed88b03824d52d88485383913bc535 Mon Sep 17 00:00:00 2001 From: xLinka Date: Wed, 1 May 2024 21:21:45 +0100 Subject: [PATCH] Update IsUserInSeatedMode.cs --- .../ProtoFlux/Users/Status/IsUserInSeatedMode.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ProjectObsidian/ProtoFlux/Users/Status/IsUserInSeatedMode.cs b/ProjectObsidian/ProtoFlux/Users/Status/IsUserInSeatedMode.cs index 30c9c5a..a0b1f6c 100644 --- a/ProjectObsidian/ProtoFlux/Users/Status/IsUserInSeatedMode.cs +++ b/ProjectObsidian/ProtoFlux/Users/Status/IsUserInSeatedMode.cs @@ -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 @@ -8,7 +10,7 @@ public class IsUserInSeatedModeNode : ValueFunctionNode 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;