fix #5267 show that effect_exec_lua priv is needed

This commit is contained in:
Sokomine 2024-12-15 16:12:53 +01:00
parent 5e477b0b3e
commit 21f26725ae

View File

@ -2052,7 +2052,7 @@ yl_speak_up.get_sub_fs_edit_option_p_and_e_function = function(
end
end
local priv_name = "precon_exec_lua"
if(id_prefix == "_r") then
if(id_prefix == "r_") then
priv_name = "effect_exec_lua"
end
return formspec..