@vaartis Note to self: Don't use love.filesystem.append
Basically my level files look like
TILES
<tileid> <tilex> <tiley>
ENTITIES
(etc)
So my level writer loops over all the loaded tiles and appends each line to the file. However this means that the numbers of tiles is how often the disk is written, I noticed after my hdd light was on and I could hear it writing to my drive (I swear it didn't do that before, maybe love updated and fucked up the way they use append idk). So I rewrote it to put everything that'd be written to the file in a variable until it's done, then just make one write