littensy / slither

🐍 A casual game with a soothing Catppuccin color palette
https://www.roblox.com/games/14162747150
MIT License
119 stars 9 forks source link

Do not auto-save fallback data #35

Closed littensy closed 1 year ago

littensy commented 1 year ago

If a DataStore request fails for a player, and they are loaded with fallback data, their data may be overwritten by the auto-save feature.

littensy commented 1 year ago

I'll do this by moving the auto-save logic into the loadPlayerSave function, so that it runs per-player instead of all at once.