Skip to content

Commit

Permalink
Added missing parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
Illidanz committed Feb 1, 2025
1 parent 3ef8574 commit 73eeaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hacktools/nitro.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def repackIMG(workfolder, infolder, outfolder, extensions=".NCGR", readfunc=None
common.copyFile(infolder + file, outfolder + file)
transptile = False
if writefunc is not None:
image, palettes, map, cell, width, height, transptile = writefunc(infolder, file, image, palettes, map, cell, width, height)
image, palettes, map, cell, width, height, transptile = writefunc(workfolder, infolder, outfolder, file, image, palettes, map, cell, width, height)
if image is not None:
if map is None and cell is None:
writeNCGR(outfolder + file, image, workfolder + pngfile, palettes, width, height)
Expand Down

0 comments on commit 73eeaf3

Please sign in to comment.