diff options
Diffstat (limited to 'src/server/MessageContext.cpp')
-rw-r--r-- | src/server/MessageContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/MessageContext.cpp b/src/server/MessageContext.cpp index 4a476bd6..f6e16ebf 100644 --- a/src/server/MessageContext.cpp +++ b/src/server/MessageContext.cpp @@ -42,9 +42,9 @@ MessageContext::MessageContext(Engine& engine) } void -MessageContext::run(NodeImpl* node, FrameTime time) +MessageContext::run(Context& context, NodeImpl* node, FrameTime time) { - if (ThreadManager::thread_is(THREAD_PROCESS)) { + if (_engine.is_process_context(context)) { const Request r(time, node); _requests.write(sizeof(Request), &r); // signal() will be called at the end of this process cycle |