Hey forum, I’ve got a tricky problem today.
My game loads on join and saves on exit. This works fine… until it doesn’t. The problem that’s arisen is that often times people’s save files can overlap when they rejoin quickly. For example, I leave the game, and the save takes 3 seconds long. Maybe, it even yields for the datastore cooldown limit and it takes 10 seconds. This doesn’t matter though, I’ve already rejoined the game and my last save has overtaken my previous save because my old data loads instantly as I join.
This becomes much worse when using quick teleport service between places. The only possible work around for this would be to yield (5) seconds after joining before trying to load any Data, to allow the most time for saving.
So, my dilemma is bad. How do you guys handle this occurence?