Your problem is line 210 of scripts/fsa_effect.lua
I'm guessing the line is something like:
or perhaps:
where basically what you are passing as the second argument to register_event() is a boolean value, where it should be a function. Like so:
If you still need help then paste the code of your setup_inside_lights() function in your fsa_effect.lua script and indicate which line is line 210.
I'm guessing the line is something like:
Code (lua) Select
light_entity:register_event("on_enabled", true)
or perhaps:
Code (lua) Select
light_entity:register_event("on_enabled", light_entity:is_enabled())
where basically what you are passing as the second argument to register_event() is a boolean value, where it should be a function. Like so:
Code (lua) Select
light_entity:register_event("on_enabled", function()
--do the things that should happen when the light is enabled here
end)
If you still need help then paste the code of your setup_inside_lights() function in your fsa_effect.lua script and indicate which line is line 210.