ignore all interactive handlers when editor is open

This commit is contained in:
Kartik K. Agaram 2023-11-24 21:14:41 -08:00
parent ec034bb758
commit ddd47fc1e4

View File

@ -3,6 +3,7 @@ populate_missing_handlers = function()
if on[handler_name] == nil then
-- make it available to scripts
on[handler_name] = function(...)
if not Show_code then
if car[handler_name] then
call_protected(car[handler_name], ...)
end
@ -10,3 +11,4 @@ populate_missing_handlers = function()
end
end
end
end