Merge branch 'develop' into feature/77-grid-update

# Conflicts:
#	druid/helper.lua
#	druid/system/druid_instance.lua
This commit is contained in:
Insality
2020-09-22 00:13:44 +03:00
12 changed files with 107 additions and 134 deletions

View File

@@ -203,4 +203,13 @@ function M.deprecated(message)
end
-- Show message to require extended component
function M.extended_component(component_name)
print(string.format("[Druid]: The component %s is extended component. You have to register it via druid.register to use it", component_name))
print("[Druid]: Use next code:")
print(string.format('local %s = require("druid.extended.%s")', component_name, component_name))
print(string.format('druid.register("%s", %s)', component_name, component_name))
end
return M