tools/script_manager.lua - Explicitly set non running scriopts to FALSE

instead of relying on no value being intrepreted
                           as false.
This commit is contained in:
Bill Ferguson
2023-09-20 13:48:18 -04:00
parent 890168d0d0
commit bf17dccd69

View File

@@ -467,6 +467,8 @@ local function add_script_name(name, path, category)
table.insert(sm.scripts[category], script)
if pref_read(script.script_name, "bool") then
activate(script)
else
pref_write(script.script_name, "bool", false)
end
restore_log_level(old_log_level)
end