branchrust_reboot/main/hackweek_map_incomplete_dl_fixcancel
3 Commits over 0 Days - Infinitycph!
Added error handling when cleaning up temporary map files upon cancelling the download
Temporary map file names now use unique GUIDs
Fixed incomplete &/or cancelled map downloads writing empty maps to disk, causing reconnecting to break
Download the map as a temporary file in the same folder then rename it once complete
Additional cleanup on map download failure / cancellation
Before: https://files.facepunch.com/raul/1b1611b1/16_16-43-LateGallinule.mp4
After: https://files.facepunch.com/raul/1b1611b1/16_16-52-SwelteringDunnart.mp4