comparison Export.lua @ 116:bccce18e12cb v54

Fixed a bug with transition from v52 crucible data to v53+.
author yellowfive
date Wed, 04 Oct 2017 11:18:19 -0700
parents 4cd98aa90d78
children 5cb881417bbf
comparison
equal deleted inserted replaced
115:8bef8f88361c 116:bccce18e12cb
381 for i,v in ipairs(preview.Powers) do 381 for i,v in ipairs(preview.Powers) do
382 table.insert(previewKey, v .. "=" .. tostring(preview.Active[i])) 382 table.insert(previewKey, v .. "=" .. tostring(preview.Active[i]))
383 end 383 end
384 previewKey = table.concat(previewKey, "_") 384 previewKey = table.concat(previewKey, "_")
385 385
386 if not crucible.Previewed then
387 crucible.Previewed = {}
388 end
386 crucible.Previewed[previewKey] = preview 389 crucible.Previewed[previewKey] = preview
387 end 390 end
388 end 391 end
389 end 392 end
390 393