ignore all interactive handlers when editor is open
This commit is contained in:
parent
ec034bb758
commit
ddd47fc1e4
|
@ -3,10 +3,12 @@ populate_missing_handlers = function()
|
|||
if on[handler_name] == nil then
|
||||
-- make it available to scripts
|
||||
on[handler_name] = function(...)
|
||||
if car[handler_name] then
|
||||
call_protected(car[handler_name], ...)
|
||||
if not Show_code then
|
||||
if car[handler_name] then
|
||||
call_protected(car[handler_name], ...)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue