diff --git a/Team123it.Arcaea.MarveCube.Standalone/Team123it.Arcaea.MarveCube.Standalone.csproj b/Team123it.Arcaea.MarveCube.Standalone/Team123it.Arcaea.MarveCube.Standalone.csproj index 94884b2..ab5fa45 100644 --- a/Team123it.Arcaea.MarveCube.Standalone/Team123it.Arcaea.MarveCube.Standalone.csproj +++ b/Team123it.Arcaea.MarveCube.Standalone/Team123it.Arcaea.MarveCube.Standalone.csproj @@ -3,7 +3,7 @@ net6.0 MarveCube.Standalone - 0.3.1 + 0.3.2 123 Open-Source Organization Arcaea Server 2(123 Marvelous Cube) Standalone Version 0.3.1 diff --git a/Team123it.Arcaea.MarveCube/Processors/Background/LeaderBoard.cs b/Team123it.Arcaea.MarveCube/Processors/Background/LeaderBoard.cs index 9d2f27e..2d2c22f 100644 --- a/Team123it.Arcaea.MarveCube/Processors/Background/LeaderBoard.cs +++ b/Team123it.Arcaea.MarveCube/Processors/Background/LeaderBoard.cs @@ -350,7 +350,7 @@ public static bool UpdateTotalScoreRank(this PlayerInfo info) conn.Open(); var cmd = conn.CreateCommand(); cmd.CommandText = $"UPDATE users SET totalScore = (IFNULL((SELECT SUM(score) FROM bests WHERE (difficulty = 2 OR difficulty = 3) AND user_id = ?uid),0)) WHERE user_id=?uid;"; - cmd.Parameters.Add(new MySqlParameter("?user_id", MySqlDbType.Int32) + cmd.Parameters.Add(new MySqlParameter("?uid", MySqlDbType.Int32) { Value = info.UserId!.Value }); diff --git a/Team123it.Arcaea.MarveCube/Team123it.Arcaea.MarveCube.csproj b/Team123it.Arcaea.MarveCube/Team123it.Arcaea.MarveCube.csproj index d6dfd1e..507e8b2 100644 --- a/Team123it.Arcaea.MarveCube/Team123it.Arcaea.MarveCube.csproj +++ b/Team123it.Arcaea.MarveCube/Team123it.Arcaea.MarveCube.csproj @@ -3,11 +3,11 @@ net6.0 MarveCube - 0.3.1 + 0.3.2 123 Open-Source Organization Arcaea Server 2(123 Marvelous Cube Open-Source Version) - 0.3.1 - 0.3.1 + 0.3.2 + 0.3.2 (C)Copyright 2015-2022 123 Open-Source Organization. All rights reserved. Arcaea Server 2 - High-Speed Protable Arcaea API Server x64;ARM64