local Torch level object_by_id TorchId if Torch torch_enabled then new

1
2
3
4
local Torch = level.object_by_id( TorchId);
if Torch:torch_enabled() then
news_manager.send_tip( db.actor, "Фонарь включен");
end