mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-12-22 02:17:33 +00:00
Fix output image parameter
This commit is contained in:
parent
95c53b96a9
commit
13373028cc
@ -258,8 +258,8 @@ func main() {
|
||||
outputImage = tempImage
|
||||
}
|
||||
|
||||
log.Printf("Creating output file \"%v\"", "output.png")
|
||||
f, err := os.Create("output.png")
|
||||
log.Printf("Creating output file \"%v\"", *flagOutputPath)
|
||||
f, err := os.Create(*flagOutputPath)
|
||||
if err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
@ -277,6 +277,6 @@ func main() {
|
||||
if err := f.Close(); err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
log.Printf("Created output file \"%v\"", "output.png")
|
||||
log.Printf("Created output file \"%v\"", *flagOutputPath)
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user