Skip to content

Commit c220566

Browse files
committed
fix instrument id for single version
1 parent 5e1e995 commit c220566

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/kit_state.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ const std::vector<std::unique_ptr<PercussionState>>& KitState::percussions() con
138138
auto state = std::make_unique<PercussionState>();
139139
if (!state->loadObject(obj))
140140
return false;
141+
#ifdef GEONKICK_SINGLE
142+
state->setId(0);
143+
#endif // GEONKICK_SINGLE
141144
addPercussion(std::move(state));
142145
return true;
143146
}

0 commit comments

Comments
 (0)