--[[**
	<description>
	Saves the data to the data store. Called when a player leaves.
	</description>
**--]]

function DataStore:Save()
	local success, result = self:SaveAsync():await()

	if success then
		print("saved", self.Name)
	else
		error(result)
	end
end
