Is there any good examples or maybe someone could say how to protect local storage from damaging?
I don't mean I had any issues but most pc games says "don't turn game off while it saving". So I worry if I need to do something to protect player's savegames in local storage.
What will happen if player closes my game while it was in the middle of writing in local storage? Will it stop writing and local storage will keep half of old savegame and half of new? Or it will restores previous version of local storage?