Skip to content

Commit

Permalink
Rearrange Object.assign arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
MeLike2D committed Mar 1, 2021
1 parent 91caa31 commit 0467827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class Manager extends EventEmitter {
public constructor(nodes: SocketData[], options: ManagerOptions) {
super();

options = Object.assign(options, defaults);
options = Object.assign(defaults, options);

this.sockets = new Map();
this.players = new Map();
Expand Down

0 comments on commit 0467827

Please sign in to comment.