Rebase on Radiance #71

Merged
kazhnuz merged 20 commits from wip/radiance-rebase into master 2022-08-12 10:37:35 +02:00
Showing only changes of commit b8ac8e7d51 - Show all commits

View file

@ -36,9 +36,11 @@ end
function DataManager:loadDatas() function DataManager:loadDatas()
self.datapacks = {} self.datapacks = {}
for key, datas in pairs(index.datapacks) do if (index.datapacks ~= nil) then
self.core.debug:debug("datamanager", "loading data for " .. key) for key, datas in pairs(index.datapacks) do
self.datapacks[key] = DataPack(datas[1], datas[2], datas[3], datas[4], datas[5]) self.core.debug:debug("datamanager", "loading data for " .. key)
self.datapacks[key] = DataPack(datas[1], datas[2], datas[3], datas[4], datas[5])
end
end end
end end