Skip to content

Commit

Permalink
Merge pull request #163 from libccy/PR-Branch
Browse files Browse the repository at this point in the history
fix server
  • Loading branch information
Spmario233 authored Jul 18, 2023
2 parents e7e939e + 496fb3e commit fa12b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
this.sendl('eventsdenied','ban');
}
else{
cfg.nickname=util.getNickname(nickname);
cfg.nickname=util.getNickname(cfg.nickname);
cfg.avatar=cfg.nickname||'caocao';
cfg.creator=id;
cfg.id=util.getid();
Expand Down

0 comments on commit fa12b11

Please sign in to comment.