Skip to content

Commit bf17dcc

Browse files
committed
tools/script_manager.lua - Explicitly set non running scriopts to FALSE
instead of relying on no value being intrepreted as false.
1 parent 890168d commit bf17dcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/script_manager.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ local function add_script_name(name, path, category)
467467
table.insert(sm.scripts[category], script)
468468
if pref_read(script.script_name, "bool") then
469469
activate(script)
470+
else
471+
pref_write(script.script_name, "bool", false)
470472
end
471473
restore_log_level(old_log_level)
472474
end

0 commit comments

Comments
 (0)