We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c86bb98 commit 6ba9ed6Copy full SHA for 6ba9ed6
src/Export/Main.lua
@@ -336,11 +336,13 @@ function main:LoadDatSource(value)
336
self.leagueLabel = nil
337
local reExportState = self.reExportGGPKData
338
self.reExportGGPKData = true
339
+ if self.datSource then
340
+ local out = io.open(self.datSource.spec..(self.datSource.spec:match("%.lua$") and "" or ".lua"), "w")
341
+ out:write('return ')
342
+ writeLuaTable(out, self.datSpecs, 1)
343
+ out:close()
344
+ end
345
self.datSource = value
- local out = io.open(self.datSource.spec..(self.datSource.spec:match("%.lua$") and "" or ".lua"), "w")
- out:write('return ')
- writeLuaTable(out, self.datSpecs, 1)
- out:close()
346
self.datSpecs = LoadModule(self.datSource.spec)
347
self:InitGGPK()
348
if USE_DAT64 then
0 commit comments