From 04d2a2aa5da1b8c1296279c07b1c97ab8d7cc8e1 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Sun, 2 Apr 2017 11:29:06 +0100 Subject: [PATCH] Test fix --- Facepunch.Steamworks.Test/Client/Leaderboard.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Facepunch.Steamworks.Test/Client/Leaderboard.cs b/Facepunch.Steamworks.Test/Client/Leaderboard.cs index 5244edb..4e19a10 100644 --- a/Facepunch.Steamworks.Test/Client/Leaderboard.cs +++ b/Facepunch.Steamworks.Test/Client/Leaderboard.cs @@ -31,7 +31,7 @@ public void GetLeaderboard() Console.WriteLine( $"Board name is \"{board.Name}\"" ); Console.WriteLine( $"Board has \"{board.TotalEntries}\" entries" ); - board.AddScore( true, false, 86275309, 7, 8, 9 ); + board.AddScore( true, 86275309, 7, 8, 9 ); board.FetchScores( Steamworks.Leaderboard.RequestType.Global, 0, 20 ); @@ -67,23 +67,22 @@ public void AddScores() Assert.IsTrue( board.IsValid ); Assert.IsFalse( board.IsError ); - - board.AddScore( true, false, 1234 ); + board.AddScore( true, 1234 ); Thread.Sleep( 10 ); client.Update(); - board.AddScore( true, true, 34566 ); + board.AddScore( true, 34566 ); Thread.Sleep( 10 ); client.Update(); - board.AddScore( true, false, 86275309, 7, 8, 9, 7, 4, 7, 98, 24, 5, 76, 124, 6 ); + board.AddScore( true, 86275309, 7, 8, 9, 7, 4, 7, 98, 24, 5, 76, 124, 6 ); Thread.Sleep( 10 ); client.Update(); - board.AddScore( false, true, 86275309, 7, 8, 9, 7, 4, 7, 98, 24, 5, 76, 124, 6 ); + board.AddScore( false, 86275309, 7, 8, 9, 7, 4, 7, 98, 24, 5, 76, 124, 6 ); Thread.Sleep( 10 ); client.Update();