diff --git a/SpeedrunComSharp/Runs/RunsClient.cs b/SpeedrunComSharp/Runs/RunsClient.cs index c9dc381..2deb45a 100644 --- a/SpeedrunComSharp/Runs/RunsClient.cs +++ b/SpeedrunComSharp/Runs/RunsClient.cs @@ -179,7 +179,7 @@ public Run Submit(string categoryId, runElement.comment = comment; if (splitsIOUri != null) - runElement.splitsio = splitsIOUri.PathAndQuery.Substring(1); + runElement.splitsio = splitsIOUri.PathAndQuery.Substring(splitsIOUri.PathAndQuery.LastIndexOf('/') + 1); if (variables != null) {