added sending flag for using step counter to score server
authorHolger Schemel <info@artsoft.org>
Fri, 29 Oct 2021 13:52:47 +0000 (15:52 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 29 Oct 2021 13:52:47 +0000 (15:52 +0200)
src/files.c

index b0bb49ecdbe2ac9de65ea04b82e44ae29535a932..535b1d520ff0ae0f49e6bbaec4fc66f9fe0b5b90 100644 (file)
@@ -9529,6 +9529,7 @@ static boolean SetRequest_ApiAddScore(struct HttpRequest *request,
           "  \"level_nr\":             \"%d\",\n"
           "  \"level_name\":           \"%s\",\n"
           "  \"level_author\":         \"%s\",\n"
+          "  \"use_step_counter\":     \"%d\",\n"
           "  \"rate_time_over_score\": \"%d\",\n"
           "  \"player_name\":          \"%s\",\n"
           "  \"player_uuid\":          \"%s\",\n"
@@ -9550,6 +9551,7 @@ static boolean SetRequest_ApiAddScore(struct HttpRequest *request,
           level_nr,
           level_name,
           level_author,
+          level.use_step_counter,
           level.rate_time_over_score,
           player_name,
           player_uuid,