summaryrefslogtreecommitdiffstats
path: root/src/server/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events')
-rw-r--r--src/server/events/SetMetadata.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/events/SetMetadata.cpp b/src/server/events/SetMetadata.cpp
index 5849269a..15ed26cc 100644
--- a/src/server/events/SetMetadata.cpp
+++ b/src/server/events/SetMetadata.cpp
@@ -317,9 +317,9 @@ SetMetadata::execute(ProcessContext& context)
break;
case POLYPHONY:
if (_patch->internal_poly() != static_cast<uint32_t>(value.get_int32()) &&
- !_patch->apply_internal_poly(_engine.process_context(),
- *_engine.buffer_factory(),
- *_engine.maid(), value.get_int32())) {
+ !_patch->apply_internal_poly(context,
+ *_engine.buffer_factory(),
+ *_engine.maid(), value.get_int32())) {
_status = INTERNAL_ERROR;
}
break;