diff --git a/source/PluginDev/Assets/GooglePlayGames/Platforms/Android/AndroidJavaConverter.cs b/source/PluginDev/Assets/GooglePlayGames/Platforms/Android/AndroidJavaConverter.cs index 23e72cd6a..d6acd9a82 100644 --- a/source/PluginDev/Assets/GooglePlayGames/Platforms/Android/AndroidJavaConverter.cs +++ b/source/PluginDev/Assets/GooglePlayGames/Platforms/Android/AndroidJavaConverter.cs @@ -30,8 +30,7 @@ internal class AndroidJavaConverter internal static System.DateTime ToDateTime(long milliseconds) { System.DateTime result = new System.DateTime(1970, 1, 1, 0, 0, 0, 0); - result.AddMilliseconds(milliseconds); - return result; + return result.AddMilliseconds(milliseconds); } // Convert to LeaderboardVariant.java#TimeSpan @@ -284,4 +283,4 @@ internal static TurnBasedMatch.MatchTurnStatus ToMatchTurnStatus(int matchTurnSt } } } -#endif \ No newline at end of file +#endif