From aec2a9409b7f23ae203ad9befb4b4ac34efb9c1c Mon Sep 17 00:00:00 2001 From: oneRain Date: Tue, 5 Jan 2021 17:10:49 +0800 Subject: [PATCH] chore: UpdateStatistics overwrite defaults to false. --- Storage/Storage/Leaderboard/LCLeaderboard.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Storage/Storage/Leaderboard/LCLeaderboard.cs b/Storage/Storage/Leaderboard/LCLeaderboard.cs index 8062563..29b39b7 100644 --- a/Storage/Storage/Leaderboard/LCLeaderboard.cs +++ b/Storage/Storage/Leaderboard/LCLeaderboard.cs @@ -97,7 +97,7 @@ namespace LeanCloud.Storage { public static async Task> UpdateStatistics(LCUser user, Dictionary statistics, - bool overwrite = true) { + bool overwrite = false) { if (user == null) { throw new ArgumentNullException(nameof(user)); }