Skip to content

Commit

Permalink
Remove: Funes did not exist before Rack 2.x, so, don't try to read le…
Browse files Browse the repository at this point in the history
…gacy data.

(cherry picked from commit 55fa859)
  • Loading branch information
Bloodbat committed Jul 29, 2024
1 parent 1238f49 commit be53c9c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Funes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,16 +427,6 @@ struct Funes : Module {
user_data.setBuffer(userDataBuffer);
}
}

// Legacy <=1.0.2
json_t* lpgColorJ = json_object_get(rootJ, "lpgColor");
if (lpgColorJ)
params[PARAM_LPG_COLOR].setValue(json_number_value(lpgColorJ));

// Legacy <=1.0.2
json_t* decayJ = json_object_get(rootJ, "decay");
if (decayJ)
params[PARAM_LPG_DECAY].setValue(json_number_value(decayJ));
}

void reset() {
Expand Down

0 comments on commit be53c9c

Please sign in to comment.