mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-10-02 00:54:48 +00:00
Fix to get proper parent dir from relative file.
This commit is contained in:
parent
0086c6645e
commit
5e91ea175b
@ -3492,7 +3492,7 @@ end
|
||||
// Create PLASMA headers
|
||||
inst1 = new A2PackPartitions()
|
||||
inst1.buildDir = buildDir
|
||||
inst1.worldFileDir = xmlFile.getParentFile()
|
||||
inst1.worldFileDir = xmlFile.getAbsoluteFile().getParentFile()
|
||||
inst1.reportWriter = reportWriter
|
||||
inst1.dataGen(xmlFile, dataIn)
|
||||
|
||||
@ -3505,7 +3505,7 @@ end
|
||||
inst2.nWarnings = inst1.nWarnings
|
||||
inst2.resourceDeps = resourceDeps // inject partial deps
|
||||
inst2.buildDir = buildDir
|
||||
inst2.worldFileDir = xmlFile.getParentFile()
|
||||
inst2.worldFileDir = xmlFile.getAbsoluteFile().getParentFile()
|
||||
inst2.reportWriter = reportWriter
|
||||
inst2.pack(xmlFile, dataIn)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user