diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js index 0eced1a479eb4a60f9b58cbee4bbd17697e26043..9fb6f7f2f28087c1917bfa36a75dd08212b2e829 100644 --- a/pd/nw/pdgui.js +++ b/pd/nw/pdgui.js @@ -42,13 +42,6 @@ function gui_set_browser_config(doc_flag, path_flag, init_flag, helppath) { function gui_set_lib_dir(dir) { lib_dir = dir; - // This definitely shouldn't be here, but this seems to be the only safe - // place to run build_k12_xlet_tt() ensuring that lib_dir isn't undefined, - // if we are not modifying the C code. - if (k12_mode && !k12_xlet_tt_ready) { - k12_xlet_tt_ready = 1; - build_k12_xlet_tt(); - } } exports.get_lib_dir = function() {