diff --git a/code/tc.preset.js b/code/tc.preset.js index aaf84cf..1bf42ad 100644 --- a/code/tc.preset.js +++ b/code/tc.preset.js @@ -205,13 +205,6 @@ function calc_rows_columns() { slots[cur] = new slot(left, top, right, bottom, prev_state.name, prev_state.lock, prev_state.interp, prev_state.color_index, prev_state.color_custom); } } - - if (slots_count_display < slots_highest) { - for (var i = slots_count_display + 1; i <= slots_highest; i++) { - slots[i] = new slot(); - slots[i].init(); - } - } paint_base(); } calc_rows_columns.local = 1; @@ -973,6 +966,11 @@ function read() { } } +// Given that v8ui has a new read method that cannot be overriden, we need to use [substitute read readfile] between [pattrstorage] and [tc.prest] +function readfile(f, s) { + read(f, s); +} + function subscriptionlist() { var client = arrayfromargs(arguments)[0]; if (is_listening_to_subscriptionlist) {