Skip to content

Commit

Permalink
fix compilation issue with some Unity versions. bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
endel committed Mar 25, 2024
1 parent 0b3c586 commit 15d820c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Assets/Colyseus/Runtime/Colyseus/HTTP.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public async Task<string> Request(string uriMethod, string uriPath, Dictionary<s
throw new HttpException((int)req.responseCode, errorMessage);
}
}

throw new HttpException((int)req.responseCode, errorMessage);
}
}
Expand All @@ -154,7 +154,7 @@ public async Task<string> Request(string uriMethod, string uriPath, Dictionary<s

public string GetRequestURL(string pathWithQueryString)
{
var splittedPath = pathWithQueryString.Split("?");
var splittedPath = pathWithQueryString.Split('?');
var path = splittedPath[0];
var query = (splittedPath.Length > 1) ? splittedPath[1] : "";

Expand Down
2 changes: 1 addition & 1 deletion Assets/Colyseus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "io.colyseus.sdk",
"version": "0.15.8",
"version": "0.15.9",
"displayName": "Colyseus SDK",
"description": "Colyseus Multiplayer SDK for Unity",
"unity": "2019.1",
Expand Down

0 comments on commit 15d820c

Please sign in to comment.