refactor: rename FindSendTarget to FindUnit

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2023-10-19 13:31:34 +03:00
parent 43707e5fd6
commit 64270eaf68
5 changed files with 14 additions and 14 deletions

View File

@ -155,7 +155,7 @@ func NewBytecode(patch sointu.Patch, featureSet FeatureSet, bpm int) (*Bytecode,
b.operand(flags)
case "send":
targetID := unit.Parameters["target"]
targetInstrIndex, _, err := patch.FindSendTarget(targetID)
targetInstrIndex, _, err := patch.FindUnit(targetID)
targetVoice := unit.Parameters["voice"]
addr := unit.Parameters["port"] & 7
if err == nil {