Skip to content

Commit

Permalink
Merge pull request #63 from Snirozu/master
Browse files Browse the repository at this point in the history
reconnectionToken not properly checked if it exists
  • Loading branch information
endel authored Sep 30, 2024
2 parents ea4c702 + b769785 commit c1abe4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/colyseus/Client.hx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Client {

var options = ["sessionId" => room.sessionId];

if (response.reconnectionToken) {
if (response.reconnectionToken != null) {
options.set("reconnectionToken", response.reconnectionToken);
}

Expand Down

0 comments on commit c1abe4d

Please sign in to comment.