mirror of
https://github.com/CosmicStar98/bedrocktool.git
synced 2024-06-02 00:45:15 +00:00
missing close
This commit is contained in:
parent
e8da2733b1
commit
a879e4cbba
|
@ -432,6 +432,7 @@ func (w *WorldState) SaveAndReset() {
|
|||
if w.saveImage {
|
||||
f, _ := os.Create(folder + ".png")
|
||||
png.Encode(f, w.ui.ToImage())
|
||||
f.Close()
|
||||
}
|
||||
|
||||
// zip it
|
||||
|
|
Loading…
Reference in New Issue
Block a user